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) { // 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) { 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("fileName", ref this._FileName); stream.SerializeBlock("questThread", ref this._Data); throw new NotImplementedException(); }