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 "b": data.Decode(base.Decode); break; //data.Decode_Base(base.Decode, this); break; case "bg": visualStyleTag = data.ToString(); break; case "sub": data.ToList(out coreNodes); break; case "gn": data.ToList(out gameNodes, GameNodeBase.all); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "vrt": data.ToList(out meshPoints); break; case "tri": data.ToList(out triangles); break; case "n": meshName = data.ToString(); break; case "grM": data.ToInt(ref maxGroupIndex); break; case "sub": data.ToInt(ref subMeshCount); break; case "wei": gotBoneWeights = data.ToBool(); break; case "gcls": data.DecodeInto(out groupColors); break; case "bv": data.ToList(out baseVertex); break; case "biP": data.Decode_Array(out bindPoses); break; case "UV2dR": data.ToInt(ref uv2DistributeRow); break; case "UV2cur": data.ToInt(ref uv2DistributeCurrent); break; case "sctdUV": selectedUv = meshPoints[data.ToInt(0)].vertices[0]; break; case "sctdTris": selectedTriangle = triangles[data.ToInt(0)]; break; default: if (MeshToolBase.AllTools.IsNullOrEmpty()) { break; } foreach (var t in MeshToolBase.allToolsWithPerMeshData) { var mt = t as MeshToolBase; if (mt == null || !mt.StdTag.Equals(key)) { continue; } mt.DecodeFull(data); break; } 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 void Decode(string tg, CfgData data) { switch (tg) { case "books": data.ToList(out all); break; } }
public void Decode(string tg, CfgData data) { switch (tg) { case "p": data.ToList(out path); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "cfgs": data.ToList(out weatherConfigurations); break; } }
public void Decode(string key, CfgData data) { switch (key) { case "mdls": data.ToList(out _modules, RoundedButtonModuleBase.all); break; } }
public virtual void Decode(string key, CfgData data) { switch (key) { case "n": name = data.ToString(); break; case "sln": data.ToList(out dtaLnks); break; } }
public void Decode(string key, CfgData data) { switch (key) { case "n": paletteName = data.ToString(); break; case "cols": data.ToList(out _colors); 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 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 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 "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 void Decode(string tg, CfgData data) { switch (tg) { case "tch": data.ToList(out textChunks, TextChunkBase.all); break; case "lnkCol": linksColor = data.ToColor(); break; case "tx": textColor = data.ToColor(); 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 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 tg, CfgData data) { switch (tg) { case "bkSrv": books.DecodeFull(data); break; case "ptUI": showPlaytimeUI = data.ToBool(); break; case "us": data.ToList(out users.all); break; case "curUser": users.LoadUser(data.ToString()); 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 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; } }
public override void Decode(string key, CfgData data) { switch (key) { case "pl": data.ToList(out CameraModuleBase.modules, CameraModuleBase.all); CameraModuleBase.RefreshModules(); break; case "mm": MeshManager.DecodeFull(data); break; case "rts": RenderTextureBuffersManager.renderBuffersSize = data.ToInt(0); break; } }
public override void Decode(string key, CfgData data) { switch (key) { case "ch": data.ToList(out _channel); break; case "c": _isColor = data.ToBool(); break; case "n": _name = data.ToString(); break; case "b": bumpStrength = data.ToFloat(); break; case "fc": fillColor = data.ToColor(); break; } }
public void Decode(string tg, CfgData data) { switch (tg) { case "goto": nextOne = data.ToString(); break; case "cnd": data.Decode(out conditions); break; case "t": text.DecodeFull(data); break; case "ts2b": text2.DecodeFull(data); break; case "res": data.ToList(out results); break; case "ins": _inspectedItems = data.ToInt(); 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; } }