public static T?GetNullable <T>(this NetDataReader @this) where T : struct, INetSerializable { return(@this.GetNullable(reader => reader.Get <T>())); }
public void Deserialize(NetDataReader reader) { AccessKey = reader.GetKey32(); HostKey = reader.GetNullable <Key32>(NetDataReaderExtensions.GetKey32); ClientTime = reader.GetDouble(); }