public override void FromBinaryReader(IEndianBinaryReader reader) { OpCode = reader.Read <ushort>(); Exception = reader.Read <string>(); // if (string.IsNullOrEmpty(Exception)) // SingleDeserializable = new SingleDeserializable(readStream); // else // Logger.Error($"操作码{OpCode}远程调用出现错误!错误:" + Exception); }
public void FromBinaryReader(IEndianBinaryReader reader) { UserName = reader.Read <string>(); ID = reader.Read <int>(); Sex = reader.Read <bool>(); Signature = reader.Read <string>(); HeadId = reader.Read <int>(); MobilePhone = reader.Read <string>(); CardCount = reader.Read <int>(); PlayTimes = reader.Read <int>(); }
public override void FromBinaryReader(IEndianBinaryReader reader) { value = reader.Read <T>(); }
public void FromBinaryReader(IEndianBinaryReader reader) { Name = reader.Read <string>(); Password = reader.Read <string>(); }