mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
Description of the meaning of the format strings added
Description of the meaning of the format strings added to SQLStorages.cpp
This commit is contained in:
parent
6dad251bc4
commit
1bf9a70cbd
1 changed files with 20 additions and 0 deletions
|
|
@ -24,6 +24,26 @@
|
|||
|
||||
#include "SQLStorages.h"
|
||||
|
||||
// The meaning of the format strings:
|
||||
//
|
||||
// taken from DBCFileLoader.h
|
||||
//
|
||||
// enum FieldFormat
|
||||
// {
|
||||
// DBC_FF_NA = 'x', // ignore/ default, 4 byte size, in Source String means field is ignored, in Dest String means field is filled with default value
|
||||
// DBC_FF_NA_BYTE = 'X', // ignore/ default, 1 byte size, see above
|
||||
// DBC_FF_NA_FLOAT = 'F', // ignore/ default, float size, see above
|
||||
// DBC_FF_NA_POINTER = 'p', // fill default value into dest, pointer size, Use this only with static data (otherwise mem-leak)
|
||||
// DBC_FF_STRING = 's', // char*
|
||||
// DBC_FF_FLOAT = 'f', // float
|
||||
// DBC_FF_INT = 'i', // uint32
|
||||
// DBC_FF_BYTE = 'b', // uint8
|
||||
// DBC_FF_SORT = 'd', // sorted by this field, field is not included
|
||||
// DBC_FF_IND = 'n', // the same,but parsed to data
|
||||
// DBC_FF_LOGIC = 'l' // Logical (boolean)
|
||||
// };
|
||||
//
|
||||
|
||||
const char CreatureInfosrcfmt[] = "iiiiiiiiiisssiiiiiiiiiiifffiffiifiiiiiiiiiiiffiiiiiiiiiiiiiiisiiffliiiiiiiliiiiiis";
|
||||
const char CreatureInfodstfmt[] = "iiiiiiiiiisssiiiiiiiiiiifffiffiifiiiiiiiiiiiffiiiiiiiiiiiiiiisiiffliiiiiiiliiiiiii";
|
||||
const char CreatureDataAddonInfofmt[] = "iiibbiis";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue