Difference between revisions of "Object Types"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 9: Line 9:
 
! '''Type'''
 
! '''Type'''
 
! '''Description'''
 
! '''Description'''
|-  
+
|-
 +
| [[CBlob]]
 +
| {{:CBlob}}
 +
|-
 +
| [[CActor]]
 +
| {{:CActor}}
 +
|-
 +
| [[CPlayer]]
 +
| {{:CPlayer}}
 +
|-
 +
| [[CBitStream]]
 +
| {{:CBitStream}}
 +
|-
 +
| [[CNet]]
 +
| {{:CNet}}
 +
|-
 +
| [[CInventory]]
 +
| {{:CInventory}}
 +
|-
 +
| [[ConfigFile]]
 +
| {{:ConfigFile}}
 +
|-
 +
| [[Driver]]
 +
| {{:Driver}}
 +
|-
 +
| [[CControls]]
 +
| {{:CControls}}
 +
|-
 
!
 
!
 
! '''Attachments'''  
 
! '''Attachments'''  
Line 171: Line 198:
 
| [[string]]
 
| [[string]]
 
| {{:string}}
 
| {{:string}}
|-
 
!
 
! '''Misc'''
 
|-
 
| [[CBlob]]
 
| {{:CBlob}}
 
|-
 
| [[CActor]]
 
| {{:CActor}}
 
|-
 
| [[CPlayer]]
 
| {{:CPlayer}}
 
|-
 
| [[CBitStream]]
 
| {{:CBitStream}}
 
|-
 
| [[CNet]]
 
| {{:CNet}}
 
|-
 
| [[CInventory]]
 
| {{:CInventory}}
 
|-
 
| [[ConfigFile]]
 
| {{:ConfigFile}}
 
|-
 
| [[Driver]]
 
| {{:Driver}}
 
|-
 
| [[CControls]]
 
| {{:CControls}}
 
 
|-
 
|-
 
|}
 
|}
  
 
[[Category:Scripting]]
 
[[Category:Scripting]]

Revision as of 13:50, 14 August 2012

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


Then a big ol' list of the types, linking to their own articles.

Type Description
CBlob

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

CActor CActor
CPlayer


CBitStream


CNet
CInventory

Represents an inventory - a container for CBlobs that is itself part of (owned by) a CBlob.

ConfigFile

The object used to read/write the contents of .cfg files

Driver


CControls
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
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.

Vector2d Vector2d
string String is used for storing strings of characters.