public void Decode(IDecoder decoder) { this.value1 = decoder.GetInt(); this.value2 = decoder.GetInt(); this.value3 = decoder.GetInt(); this.value4 = decoder.GetInt(); }
public void Decode(IDecoder decoder) { this.name = decoder.GetString(); this.age = decoder.GetInt(); this.height = decoder.GetFloat(); this.weight = decoder.GetDouble(); var subSubValue = decoder.GetObject <SubSubValue>(); if (subSubValue.HasValue) { this.subSubValue = subSubValue.Value; } }
public void Decode(IDecoder decoder) { this.intVal = decoder.GetInt(); this.shortVal = decoder.GetShort(); this.longVal = decoder.GetLong(); this.uintVal = decoder.GetUInt(); this.ushortVal = decoder.GetUShort(); this.ulongVal = decoder.GetULong(); this.stringVal = decoder.GetString(); this.bytesVal = decoder.GetBytes(); var subValue = decoder.GetObject <SubValue>(); if (subValue.HasValue) { this.subValue = subValue.Value; } }
public void Decode(IDecoder decoder) { this.playerId = decoder.GetInt(); this.pingValue = decoder.GetFloat(); }
void IDecodable.Decode(IDecoder decoder) { this.playerId = decoder.GetInt(); }
void IDecodable.Decode(IDecoder decoder) { this.playerId = decoder.GetInt(); this.remoteIp = decoder.GetString(); this.port = decoder.GetInt(); }
public void Decode(IDecoder decoder) { this.playerId = decoder.GetInt(); this.messageId = decoder.GetInt(); }
void IDecodable.Decode(IDecoder decoder) { this.playerId = decoder.GetInt(); this.isMe = decoder.GetBool(); }