Difference between revisions of "Category:Field Type"

From SWGANH Wiki
Jump to: navigation, search
Line 18: Line 18:
 
|{{float}}||float||'''float''' (4bytes, signed)
 
|{{float}}||float||'''float''' (4bytes, signed)
 
|-
 
|-
|{{long}}||long||'''long''' (8bytes, signed)
+
|{{long}}||long||'''long''' (8bytes, signed, mostly used for object ids)
 
|-
 
|-
|{{ulong}}||ulong||'''ulong''' (8bytes, unsigned)
+
|{{ulong}}||ulong||'''ulong''' (8bytes, unsigned, mostly used for object ids)
 
|-
 
|-
 
|{{double}}||double||'''double''' (8bytes, signed)
 
|{{double}}||double||'''double''' (8bytes, signed)
 
|-
 
|-
|{{a_string}}||a_string||'''ANSI/ASCII String''' (each char: 1byte, ASCII:leading0+7bits, ANSI:8bits)
+
|{{a_string}}||a_string||'''ANSI/ASCII String''' (4bytes size + 1byte chars, ASCII:leading0+7bits, ANSI:8bits)
 
|-
 
|-
|{{u_string}}||u_string||'''Unicode String''' (each char: 2bytes)
+
|{{u_string}}||u_string||'''Unicode String''' (4bytes size + 2bytes chars)
 
|-
 
|-
|{{c_string}}||c_string||'''Customization String''' ([[Character_Appearance_%28Sequence%29|look here for details]])
+
|{{c_string}}||c_string||'''Customization String''' ([[Character_Appearance_%28Sequence%29#Xeno_TRAC_Docs|look here for details]])
 
|-
 
|-
|{{b_string}}||b_string||'''Byte String''' (each char: 1byte, used for session key only)
+
|{{b_string}}||b_string||'''Byte String''' (4bytes size + 1byte chars, used for session key only)
 
|-
 
|-
|{{list}}||list||'''LIST Component'''
+
|{{list}}||list||'''LIST Component''' (this is a sub section repeated as a list of data. Indent Variable types with 1 space.)
 
|-
 
|-
|{{uncertain}}||uncertain||'''Uncertain Values'''
+
|{{uncertain}}||uncertain||'''Uncertain Values''' (use a single question mark ? in the name to display uncertainty in the variables understanding.)
 
|-
 
|-
|{{unknown}}||unknown||'''Unknown Variable Name'''
+
|{{unknown}}||unknown||'''Unknown Variable Name'''(use ?? or Unknown for the name to display that there is no clue as to what the data does.)
 
|-
 
|-
 
|}
 
|}

Revision as of 06:52, 21 March 2007

Here is a list of the different templates at your disposal (look here for palette):

BOOL bool bool (1byte, 0:false, other value:true)
SBYTE sbyte sbyte (1byte, signed)
BYTE byte byte (1byte, unsigned)
SHORT short short (2bytes, signed)
USHORT ushort ushort (2bytes, unsigned)
INT int int (4bytes, signed)
UINT uint uint (4bytes, unsigned)
FLOAT float float (4bytes, signed)
LONG long long (8bytes, signed, mostly used for object ids)
ULONG ulong ulong (8bytes, unsigned, mostly used for object ids)
DOUBLE double double (8bytes, signed)
A_STRING a_string ANSI/ASCII String (4bytes size + 1byte chars, ASCII:leading0+7bits, ANSI:8bits)
U_STRING u_string Unicode String (4bytes size + 2bytes chars)
C_STRING c_string Customization String (look here for details)
B_STRING b_string Byte String (4bytes size + 1byte chars, used for session key only)
{ } list LIST Component (this is a sub section repeated as a list of data. Indent Variable types with 1 space.)
? uncertain Uncertain Values (use a single question mark ? in the name to display uncertainty in the variables understanding.)
?? unknown Unknown Variable Name(use ?? or Unknown for the name to display that there is no clue as to what the data does.)