public override void Deserialize(object incoming) { var manualObject = FlatBufferSerializer.GetManualObject(incoming); if (data == null) { data = new ScriptingServiceData(); } //var dictRef = manualObject.GetPrimitiveList<int>(0); //var innerManualObject = new FBManualObject(); //foreach (int offset in dictRef) { // innerManualObject.__init(offset, manualObject.ByteBuffer); // var uid = innerManualObject.GetOrCreate<UID>(0); // int value = innerManualObject.GetInt() //} data.replayScript.Clear(); data.replayScript.Append(manualObject.GetString(0)); }