Difference between revisions of "Template:Field types"
From SWGANH Wiki
(New page: {| class="wikitable" |- |{{bool}}||bool||'''bool''' (1byte, 0:false, other value:true) |- |{{sbyte}}||sbyte||'''sbyte''' (1byte, signed) |- |{{byte}}||byte||'''byte''' (1byte, unsigned) |-...) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
+ | |- | ||
+ | !Render!!Keyword!!Type Details | ||
|- | |- | ||
|{{bool}}||bool||'''bool''' (1byte, 0:false, other value:true) | |{{bool}}||bool||'''bool''' (1byte, 0:false, other value:true) | ||
Line 23: | Line 25: | ||
|{{double}}||double||'''double''' (8bytes, signed) | |{{double}}||double||'''double''' (8bytes, signed) | ||
|- | |- | ||
− | |{{a_string}}||a_string||'''ANSI/ASCII String''' ( | + | |{{a_string}}||a_string||'''ANSI/ASCII String''' (2 -packets- or 4 -files- bytes size + 1byte chars, ASCII:leading0+7bits, ANSI:8bits) |
|- | |- | ||
|{{u_string}}||u_string||'''Unicode String''' (4bytes size + 2bytes chars) | |{{u_string}}||u_string||'''Unicode String''' (4bytes size + 2bytes chars) | ||
Line 35: | Line 37: | ||
|{{uncertain}}||uncertain||'''Uncertain Values''' (use a single question mark ? in the name to display uncertainty in the variables understanding.) | |{{uncertain}}||uncertain||'''Uncertain Values''' (use a single question mark ? in the name to display uncertainty in the variables understanding.) | ||
|- | |- | ||
− | |{{unknown}}||unknown||'''Unknown Variable Name'''(use ?? or Unknown for the name to display that there is no clue as to what the data does.) | + | |{{unknown}}||unknown||'''Unknown Variable Name''' (use ?? or Unknown for the name to display that there is no clue as to what the data does.) |
|- | |- | ||
|} | |} | ||
+ | '''XML style list tags sample:''' (use as many ":" as needed to multi-indent) | ||
+ | <pre> | ||
+ | {{beginlist|myitems|mycount}} | ||
+ | :{| class="wikitable" | ||
+ | |} | ||
+ | {{endlist|myitems}} | ||
+ | </pre> | ||
+ | {{beginlist|myitems|mycount}} | ||
+ | :{| class="wikitable" | ||
+ | |} | ||
+ | {{endlist|myitems}} |
Latest revision as of 05:35, 10 April 2007
Render | Keyword | Type Details |
---|---|---|
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 (2 -packets- or 4 -files- bytes 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.) |
XML style list tags sample: (use as many ":" as needed to multi-indent)
{{beginlist|myitems|mycount}} :{| class="wikitable" |} {{endlist|myitems}}
<myitems count=mycount>
<myitems/>