variable box definition
More...
|
enum | VarType {
SYSTEM = 0
, ATTR_TYPE = 0xF
, FLAG = 0x1
, DOUBLE = 0x2
,
STRING = 0x3
, DOUBLE_ARRAY = 0x4
, CROSS_SAVE = 0x5
, ATTR_LOCAL = 0x10
,
LOCAL_FLAG = 0x11
, LOCAL_DOUBLE = 0x12
, LOCAL_STRING = 0x13
, ATTR_ARRAY = 0x100
} |
| variable box type More...
|
|
|
void | removeEntry (Entry entry) |
|
Entry | getVariableEntry (Guid owner, string idStr) |
|
Entry | getVariableEntry (VarType type, int id) |
|
Entry | getVariableEntry (Guid owner, string name, bool isLocal) |
|
Entry | getVariableEntry (Guid owner, VarType type, int index) |
|
Entry | getFirstEntry (VarType varType) |
|
void | save (BinaryWriter writer) |
|
void | load (BinaryReader reader) |
|
string | getUniqueName (string name, Guid evGuid, bool isLocal=false, bool addForceNumber=false, string middleName="_") |
|
int | getUniqueID (Guid evGuid, bool isLocal) |
|
Entry | addEntryWhenNotExists (Guid evGuid, string name) |
|
void | addEntry (Entry entry) |
|
int | getVariableID (string name) |
|
IEnumerable< Entry > | getVariableEntries () |
|
IEnumerable< Entry > | getArrayEntries () |
|
IEnumerable< Entry > | getLocalVarEntries (Guid evGuid) |
|
IEnumerable< Entry > | getCrossSaveEntries () |
|
void | save (BinaryWriter writer) |
|
void | load (BinaryReader reader) |
|
◆ VarType
variable box type
Enumerator |
---|
SYSTEM | |
ATTR_TYPE | |
FLAG | |
DOUBLE | |
STRING | |
DOUBLE_ARRAY | |
CROSS_SAVE | |
ATTR_LOCAL | |
LOCAL_FLAG | |
LOCAL_DOUBLE | |
LOCAL_STRING | |
ATTR_ARRAY | |
◆ addEntry()
void Yukar.Common.VariableDefs.addEntry |
( |
Entry |
entry | ) |
|
◆ addEntryWhenNotExists()
Entry Yukar.Common.VariableDefs.addEntryWhenNotExists |
( |
Guid |
evGuid, |
|
|
string |
name |
|
) |
| |
◆ getArrayEntries()
IEnumerable< Entry > Yukar.Common.VariableDefs.getArrayEntries |
( |
| ) |
|
◆ getCrossSaveEntries()
IEnumerable< Entry > Yukar.Common.VariableDefs.getCrossSaveEntries |
( |
| ) |
|
◆ getFirstEntry()
Entry Yukar.Common.VariableDefs.getFirstEntry |
( |
VarType |
varType | ) |
|
◆ getLocalVarEntries()
IEnumerable< Entry > Yukar.Common.VariableDefs.getLocalVarEntries |
( |
Guid |
evGuid | ) |
|
◆ getUniqueID()
int Yukar.Common.VariableDefs.getUniqueID |
( |
Guid |
evGuid, |
|
|
bool |
isLocal |
|
) |
| |
◆ getUniqueName()
string Yukar.Common.VariableDefs.getUniqueName |
( |
string |
name, |
|
|
Guid |
evGuid, |
|
|
bool |
isLocal = false , |
|
|
bool |
addForceNumber = false , |
|
|
string |
middleName = "_" |
|
) |
| |
◆ getVariableEntries()
IEnumerable< Entry > Yukar.Common.VariableDefs.getVariableEntries |
( |
| ) |
|
◆ getVariableEntry() [1/4]
Entry Yukar.Common.VariableDefs.getVariableEntry |
( |
Guid |
owner, |
|
|
string |
idStr |
|
) |
| |
◆ getVariableEntry() [2/4]
Entry Yukar.Common.VariableDefs.getVariableEntry |
( |
Guid |
owner, |
|
|
string |
name, |
|
|
bool |
isLocal |
|
) |
| |
◆ getVariableEntry() [3/4]
Entry Yukar.Common.VariableDefs.getVariableEntry |
( |
Guid |
owner, |
|
|
VarType |
type, |
|
|
int |
index |
|
) |
| |
◆ getVariableEntry() [4/4]
Entry Yukar.Common.VariableDefs.getVariableEntry |
( |
VarType |
type, |
|
|
int |
id |
|
) |
| |
◆ getVariableID()
int Yukar.Common.VariableDefs.getVariableID |
( |
string |
name | ) |
|
◆ load()
void Yukar.Common.VariableDefs.load |
( |
BinaryReader |
reader | ) |
|
◆ removeEntry()
void Yukar.Common.VariableDefs.removeEntry |
( |
Entry |
entry | ) |
|
◆ save()
void Yukar.Common.VariableDefs.save |
( |
BinaryWriter |
writer | ) |
|
◆ loaded
bool Yukar.Common.VariableDefs.loaded = false |
◆ LOCAL_PREFIX
const string Yukar.Common.VariableDefs.LOCAL_PREFIX = "L" |
|
static |
◆ LOCAL_SWITCH_OFFSET_old
const int Yukar.Common.VariableDefs.LOCAL_SWITCH_OFFSET_old = 0x10000 |
|
static |
◆ MAX_STR_VARIABLE_old
const int Yukar.Common.VariableDefs.MAX_STR_VARIABLE_old = 256 |
|
static |
◆ MAX_SWITCH_old
const int Yukar.Common.VariableDefs.MAX_SWITCH_old = 1000 |
|
static |
◆ MAX_VARIABLE
const int Yukar.Common.VariableDefs.MAX_VARIABLE = 2048 |
|
static |
◆ MAX_VARIABLE_old
const int Yukar.Common.VariableDefs.MAX_VARIABLE_old = 1000 |
|
static |
◆ this[string name]
Entry Yukar.Common.VariableDefs.this[string name] |
|
get |