public void ReplaceAt(UInt16 tag, WireType wireType, Reader reader, bool shouldNotify) { switch (tag) { case 0: this.LogEntries = this.Notify(StateList <Byte> .Deserialize(reader.Nested(), this.Path.Nested(0)), this.LogEntries, shouldNotify, logEntriesListeners); break; default: reader.SkipWireTyped(wireType); break; } }
public void ReplaceAt(UInt32 tag, WireType wireType, IReader reader, bool shouldNotify) { switch (tag) { case 0: this.LogEntries = this.MaybeNotify(0, StateList <Byte> .Deserialize(reader, this.Path.GetNested(0)), this.LogEntries, OnLogEntriesUpdate, shouldNotify); break; default: reader.SkipField(wireType); break; } }
public void ReplaceAt(UInt16 tag, WireType wireType, Reader reader, bool shouldNotify) { switch (tag) { case 0: this.Numbers = this.Notify(StateList <Int32> .Deserialize(reader.Nested(), this.Path.Nested(0)), this.Numbers, shouldNotify, numbersListeners); break; case 1: this.Others = this.Notify(FixedList <Int32> .Deserialize(reader.Nested(), this.Path.Nested(1)), this.Others, shouldNotify, othersListeners); break; default: reader.SkipWireTyped(wireType); break; } }
public void ReplaceAt(UInt32 tag, WireType wireType, IReader reader, bool shouldNotify) { switch (tag) { case 0: this.Numbers = this.MaybeNotify(0, StateList <Int32> .Deserialize(reader, this.Path.GetNested(0)), this.Numbers, OnNumbersUpdate, shouldNotify); break; case 1: this.Others = this.MaybeNotify(1, Vector <Int32> .Deserialize(reader, this.Path.GetNested(1)), this.Others, OnOthersUpdate, shouldNotify); break; default: reader.SkipField(wireType); break; } }
public void ReplaceAt(UInt16 tag, WireType wireType, Reader reader, bool shouldNotify) { switch (tag) { case 0: this.Attacker = this.Notify(reader.ReadByte(), this.Attacker, shouldNotify, attackerListeners); break; case 1: this.Defender = this.Notify(reader.ReadByte(), this.Defender, shouldNotify, defenderListeners); break; case 2: this.Hits = this.Notify(StateList <Hit> .Deserialize(reader.Nested(), this.Path.Nested(2)), this.Hits, shouldNotify, hitsListeners); break; default: reader.SkipWireTyped(wireType); break; } }
public void ReplaceAt(UInt32 tag, WireType wireType, IReader reader, bool shouldNotify) { switch (tag) { case 0: this.Attacker = this.MaybeNotify(0, reader.ReadByte(), this.Attacker, OnAttackerUpdate, shouldNotify); break; case 1: this.Defender = this.MaybeNotify(1, reader.ReadByte(), this.Defender, OnDefenderUpdate, shouldNotify); break; case 2: this.Hits = this.MaybeNotify(2, StateList <OldHit> .Deserialize(reader, this.Path.GetNested(2)), this.Hits, OnHitsUpdate, shouldNotify); break; default: reader.SkipField(wireType); break; } }