/// <summary> /// Encodes in the specified stream. /// </summary> /// <param name="Stream">The stream.</param> public virtual void Encode(ChecksumEncoder Stream) { Stream.EncodeLogicLong(this.EntryId); Stream.WriteString(this.Name); Stream.WriteVInt(this.Order); Stream.WriteVInt(this.Score); Stream.WriteVInt(this.PreviousOrder); }
/// <summary> /// Encodes the specified stream. /// </summary> /// <param name="Stream">The stream.</param> public virtual void Encode(ChecksumEncoder Stream) { Stream.EnableCheckSum(false); Stream.WriteVInt(this.TickWhenGiven); Stream.WriteVInt(this.ExecuteTick); Stream.EncodeLogicLong(this.ExecutorId); Stream.EnableCheckSum(true); }