Difference between revisions of "Object Types"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 22: Line 22:
 
| {{:CNet}}
 
| {{:CNet}}
 
|-
 
|-
| [[CInventory]]
+
| [[CNet]]
| {{:CInventory}}
+
| {{:CNet}}
 +
|-
 +
| [[CSecurity]]
 +
| {{:CSecurity}}
 
|-
 
|-
 
| [[Driver]]
 
| [[Driver]]

Revision as of 15:34, 2 September 2012

Something here about the general concept of objects and their types.


This is a list of all of the object types provided by the KAG application (that is, not defined in a script).

Type Description
CBlob

CBlob is most common networked object in game that can be interacted in some way.

CPlayer


CBitStream


CNet
CNet
CSecurity
Driver


CControls
CSoundEngine CSoundEngine
Attachments
CAttachment


AttachmentPoint


AI
CBrain


BrainVars


GUI
CBanner CBanner
CButton
CGridButton
CGridMenu
CHUD
Map
CMap


CTileEffect


Movement
CMovement
MovementConsts
MovementVars
CProperties
Shapes
CShape
ShapeConsts
ShapeVars
Sprites
CSprite
Animation
CSpriteLayer
SpriteConsts
SpriteVars
PixelOffset
TeamTexture
Respawns
CRespawn
CRespawnPoint
CRespawnQueueActor
Weapons
CWeapon
WeaponConsts
WeaponVars
HitInfo
World
CRules
CTechnology
CTechTree
CClass CClass
CTeam
CCamera
General types
dimension2d

The Dimension2d type is used for setting the dimensions of things such as GUI elements.

rect

The recti type is used to create GUI elements among other things. There are two variances.

SColor

The SColor type is used in GUI functions such as DrawRectangle.

Vec2f

The Vec2f type is mainly used in the blob for positioning and getting the mouse coordinates.

position2d

The Position2d type is used for positioning GUI elements.

string String is used for storing strings of characters.