public void Serialize(ISaveStream stream) { if (stream.Mode == SerializeMode.Reading) { uint tagsCount = 0; stream.SerializeValue("tagsCount", ref tagsCount); for (uint i = 0; i < tagsCount; i++) { string tag = null; stream.SerializeValue("tag", ref tag); uint dialogsCount = 0; stream.SerializeValue("dialogsCount", ref dialogsCount); for (uint j = 0; j < dialogsCount; j++) { Guid guid = Guid.Empty; stream.SerializeValue("guid", ref guid); } } } else { throw new NotImplementedException(); } }
public void Serialize(ISaveStream stream) { if (stream.Mode == SerializeMode.Reading) { stream.SerializeValue("GUID", ref this.Guid); uint inputNamesCount = 0; stream.SerializeValue("inputNamesCount", ref inputNamesCount); this.InputNames = new List <string>(); for (uint i = 0; i < inputNamesCount; i++) { string inputName = null; stream.SerializeValue("inputName", ref inputName); this.InputNames.Add(inputName); } stream.SerializeValue("activationState", ref this.ActivationState); // it appears there is data loaded here // depending on the actual quest data :( throw new NotImplementedException(); } // ReSharper disable RedundantIfElseBlock else // ReSharper restore RedundantIfElseBlock { throw new NotImplementedException(); } }
public void Serialize(ISaveStream stream) { if (stream.Mode == SerializeMode.Reading) { stream.SerializeValue("GUID", ref this._GUID); uint inputNamesCount = 0; stream.SerializeValue("inputNamesCount", ref inputNamesCount); this._InputNames = new List<string>(); for (uint i = 0; i < inputNamesCount; i++) { string inputName = null; stream.SerializeValue("inputName", ref inputName); this._InputNames.Add(inputName); } stream.SerializeValue("activationState", ref this._ActivationState); // it appears there is data loaded here // depending on the actual quest data :( throw new NotImplementedException(); } else { throw new NotImplementedException(); } }
public void Serialize(ISaveStream stream) { if (stream.Mode == SerializeMode.Reading) { uint tagsCount = 0; stream.SerializeValue("tagsCount", ref tagsCount); for (uint i = 0; i < tagsCount; i++) { string tag = null; stream.SerializeValue("tag", ref tag); uint dialogsCount = 0; stream.SerializeValue("dialogsCount", ref dialogsCount); for (uint j = 0; j < dialogsCount; j++) { Guid guid = Guid.Empty; stream.SerializeValue("guid", ref guid); } } } else { throw new NotImplementedException(); } }
public void Serialize(ISaveStream stream) { // supposedly only ever has two blocks but oh well... stream.SerializeBlocks( "questExternalScenePlayers", "CQuestExternalScenePlayer", ref this._QuestExternalScenePlayers); if (stream.Mode == SerializeMode.Reading) { uint numQuests = 0; stream.SerializeValue("numQuests", ref numQuests); this._Quests = new List <Quest>(); for (uint i = 0; i < numQuests; i++) { Quest quest = null; stream.SerializeBlock("quest", ref quest); this._Quests.Add(quest); } throw new NotImplementedException(); } // ReSharper disable RedundantIfElseBlock else // ReSharper restore RedundantIfElseBlock { throw new NotImplementedException(); } }
public void Serialize(ISaveStream stream) { // supposedly only ever has two blocks but oh well... stream.SerializeBlocks( "questExternalScenePlayers", "CQuestExternalScenePlayer", ref this._QuestExternalScenePlayers); if (stream.Mode == SerializeMode.Reading) { uint numQuests = 0; stream.SerializeValue("numQuests", ref numQuests); this._Quests = new List<Quest>(); for (uint i = 0; i < numQuests; i++) { Quest quest = null; stream.SerializeBlock("quest", ref quest); this._Quests.Add(quest); } throw new NotImplementedException(); } else { throw new NotImplementedException(); } }
public void Serialize(ISaveStream stream) { if (stream.Mode == SerializeMode.Reading) { uint numBlocks = 0; stream.SerializeValue("numBlocks", ref numBlocks); this._Blocks = new List<QuestBlock>(); for (uint i = 0; i < numBlocks; i++) { QuestBlock block = null; stream.SerializeBlock("questBlock", ref block); this._Blocks.Add(block); } throw new NotImplementedException(); } else { throw new NotImplementedException(); } }
public void Serialize(ISaveStream stream) { if (stream.Mode == SerializeMode.Reading) { uint numBlocks = 0; stream.SerializeValue("numBlocks", ref numBlocks); this._Blocks = new List <QuestBlock>(); for (uint i = 0; i < numBlocks; i++) { QuestBlock block = null; stream.SerializeBlock("questBlock", ref block); this._Blocks.Add(block); } throw new NotImplementedException(); } else { throw new NotImplementedException(); } }
public void Serialize(ISaveStream stream) { if (stream.Mode == SerializeMode.Reading) { uint numBlocks = 0; stream.SerializeValue("numBlocks", ref numBlocks); this.Blocks = new List <QuestBlock>(); for (uint i = 0; i < numBlocks; i++) { QuestBlock block = null; stream.SerializeBlock("questBlock", ref block); this.Blocks.Add(block); } throw new NotImplementedException(); } // ReSharper disable RedundantIfElseBlock else // ReSharper restore RedundantIfElseBlock { throw new NotImplementedException(); } }
public void Serialize(ISaveStream stream) { stream.SerializeValue("night_time", ref this._NightTime); }
public void Serialize(ISaveStream stream) { stream.SerializeValue("night_time", ref this._NightTime); }
public void Serialize(ISaveStream stream) { stream.SerializeObject("time", "GameTime", ref this._Time); stream.SerializeValue("isPaused", ref this._IsPaused); stream.SerializeValue("realTime", ref this._RealTime); }
public void Serialize(ISaveStream stream) { stream.SerializeValue("magic_number", ref this._MagicNumber); stream.SerializeValue("special_key", ref this._SpecialKey); stream.SerializeValue("description", ref this._Description); }
public void Serialize(ISaveStream stream) { stream.SerializeValue("tagIndex", ref this._TagIndex); }
public void Serialize(ISaveStream stream) { stream.SerializeValue("magic_number", ref this._MagicNumber); stream.SerializeValue("special_key", ref this._SpecialKey); stream.SerializeValue("description", ref this._Description); }
public void Serialize(ISaveStream stream) { stream.SerializeValue("fileName", ref this._FileName); stream.SerializeBlock("questThread", ref this._Data); throw new NotImplementedException(); }
public void Serialize(ISaveStream stream) { stream.SerializeValue("fileName", ref this._FileName); stream.SerializeBlock("questThread", ref this._Data); throw new NotImplementedException(); }
public void Serialize(ISaveStream stream) { stream.SerializeValue("tagIndex", ref this._TagIndex); }
public void Serialize(ISaveStream stream) { stream.SerializeObject("time", "GameTime", ref this._Time); stream.SerializeValue("isPaused", ref this._IsPaused); stream.SerializeValue("realTime", ref this._RealTime); }