public void Decode(string tg, CfgData data) { switch (tg) { case "n": _name = data.ToString(); break; case "ind": _index = data.ToInt(); break; case "t": data.Decode(out _triggers); foreach (var t in _triggers) { t.groupIndex = _index; t.triggerIndex = _triggers.currentEnumerationIndex; } break; case "br": _browsedGroup = data.ToInt(); break; case "show": _showInInspectorBrowser = data.ToBool(); break; case "last": _lastUsedTrigger = data.ToInt(); break; case "auth": authorName = data.ToString(); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "cat": data.ToInt(ref _curAtlasTexture); break; case "cac": data.ToInt(ref curAtlasChanel); break; } }
public virtual void Decode(string key, CfgData data) { switch (key) { case "t": data.ToInt(ref srcIndex); break; case "v": data.ToInt(ref dstIndex); break; } }
protected void DecodeIndex(string tag, CfgData data) { switch (tag) { case "gi": groupIndex = data.ToInt(); break; case "ti": triggerIndex = data.ToInt(); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "ty": type = (ResultType)data.ToInt(); break; case "val": updateValue = data.ToInt(); break; case "ind": data.Decode(DecodeIndex); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "v": compareValue = data.ToInt(); break; case "ty": type = (ConditionType)data.ToInt(); break; case "ind": data.Decode(DecodeIndex); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "sm": preAtlasingSavedMesh = data; break; case "iai": data.ToInt(ref _inAtlasIndex); break; case "ar": data.ToInt(ref atlasRows); break; } }
public void Decode(string key, CfgData data) { switch (key) { case "s": data.ToInt(ref _sourceRole); break; case "c": data.ToInt(ref sourceChannel); break; case "f": flip = data.ToBool(); break; } }
public virtual void Decode(string tg, CfgData data) { switch (tg) { case "s": data.ToList(out subCategories); break; case "i": inspected = data.ToInt(); break; case "fi": unusedIndex = data.ToInt(); break; } }
public virtual void Decode(string tg, CfgData data) { switch (tg) { case "n": NameForPEGI = data.ToString(); break; case "s": data.ToList(out subCategories); break; case "i": IndexForPEGI = data.ToInt(); break; case "in": _inspected = data.ToInt(); break; } }
public virtual void Decode(string tg, CfgData data) { switch (tg) { case "t": _type = (ConditionBranchType)data.ToInt(0); break; case "wb": data.ToList(out _branches); break; case "v": data.ToList(out _conditions); break; case "insB": _browsedBranch = data.ToInt(0); break; case "ic": _browsedCondition = data.ToInt(0); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "sm": data.ToInt(ref _curSubMesh); break; } }
public virtual void Decode(string key, CfgData data) { switch (key) { case "t": data.ToInt(ref testValue); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "dm": _detectionMode = (DetectionMode)data.ToInt(0); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "sm": selectedSubMesh = data.ToInt(0); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "expVis": data.Decode(out _nodeEnteredVisuals); break; case "subVis": data.Decode(out _nodeActiveDefaultVisuals); break; case "disVis": data.Decode(out _nodeInactiveVisuals); break; case "bg_cfg": source.visualStyleConfigs[BoxButtons.classTag] = data; break; case "bg_cfgs": data.Decode_Dictionary(out source.visualStyleConfigs); break; case "URL": imageUrl = data.ToString(); break; case "imgScl": _imageScaling = data.ToFloat(); break; case "imgMd": _mode = (ImageMode)data.ToInt(); break; case "hidTxt": _hideLabel = data.ToBool(); break; case "m": MeshObjectGetOrCreate().DecodeFull(data); break; } }
public virtual void Decode(string key, CfgData data) { switch (key) { case "en": enabled = data.ToBool(); break; case "t": _targetIndex = data.ToInt(0); if (!enabled) { InitVals(); } break; case "vals": data.ToList(out links); sameSizeDataIndex = -1; break; case "sameSize": sameSizeDataIndex = data.ToInt(0); InitVals(); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "inM": _addToTrianglesAndLines = data.ToBool(); break; case "dm": _detectionMode = (DetectionMode)data.ToInt(0); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "b": data.Decode(base.Decode); break; case "lnk": linkedNodeIndex = data.ToInt(); break; } }
public virtual void Decode(string tg, CfgData data) { switch (tg) { case "name": name = data.ToString(); break; case "cond": conditions.DecodeFull(data); break; case "sub": data.ToList(out subBranches); break; case "el": data.ToList(out elements); break; case "ie": _inspectedElement = data.ToInt(); break; case "is": _inspectedItems = data.ToInt(); break; case "br": _inspectedBranch = data.ToInt(); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "tf": data.ToList(out targetFields); break; case "af": data.ToList(out atlasFields); break; case "sf": data.ToList(out _srcFields); break; case "n": NameForPEGI = data.ToString(); break; case "rgb": _sRgb = data.ToBool(); break; case "s": data.ToInt(ref _textureSize); break; case "as": data.ToInt(ref _atlasSize); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "b": data.Decode(base.Decode); break; case "exit": data.ToList(out _onExitResults); break; case "ign": inspectedGameNodeItems = data.ToInt(0); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "txs": data.ToList(out options, all); break; case "t": options.Add(new StringSentence(data.ToString())); break; case "ins": inspectedSentence = data.ToInt(); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "b": data.Decode(base.Decode); break; case "el": data.ToList(out _perBookGroups); break; case "i": _inspectedGroup = data.ToInt(); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "m": targetMusic = data.ToString(); break; case "tr": transitionType = (TransitionType)data.ToInt(); break; case "len": _transitionLength = data.ToFloat(); break; } }
public void Decode(string tg, CfgData data) { switch (tg) { case "n": name = data.ToString(); break; case "el": data.ToList(out _elements); break; case "i": _inspectedElement = data.ToInt(); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "b": data.Decode(base.Decode); break; // data.Decode_Base(base.Decode, this); break; case "t": text = data.ToString(); break; case "i": childNodeIndex = data.ToInt(); break; } }
public void Decode(string tg, CfgData data) { switch (tg) { case "ref": referenceName = data.ToString(); break; case "Conds": data.Decode(out conditions); break; case "txts": texts.DecodeFull(data); break; case "opt": data.ToList(out choices); break; case "fin": data.ToList(out finalResults); break; case "is": _inspectedItems = data.ToInt(); break; case "bc": _inspectedChoice = data.ToInt(); break; case "ir": _inspectedResult = data.ToInt(); break; } }
public void Decode(string key, CfgData data) { switch (key) { //case "imgs": data.Decode_List(out imgMetas, this); break; case "sch": data.ToInt(ref selectedColorScheme); break; //case "mats": data.Decode_List(out matMetas, this); break; case "pals": data.ToList(out colorSchemes); break; case "cam": if (PainterCamera.Inst) { PainterCamera.Inst.DecodeFull(data); } break; case "Vpck": data.ToList(out meshPackagingSolutions); break; case "hd": hideDocumentation = data.ToBool(); break; case "iid": data.ToInt(ref _inspectedImgData); break; case "isfs": data.ToInt(ref _inspectedList); break; case "im": data.ToInt(ref _inspectedMaterial); break; case "id": data.ToInt(ref _inspectedDecal); break; case "is": data.ToInt(ref inspectedItems); break; case "e": toolEnabled = data.ToBool(); break; } }
public override void Decode(string tg, CfgData data) { switch (tg) { case "n": name = data.ToString(); break; case "u": _usage = data.ToInt(); break; case "e": data.Decode_Dictionary(out enm); break; case "c": data.ToList(out _myCategories); break; } }