Exemple #1
0
        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);
        }
Exemple #2
0
 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>();
 }
Exemple #3
0
 public override void FromBinaryReader(IEndianBinaryReader reader)
 {
     value = reader.Read <T>();
 }
Exemple #4
0
 public void FromBinaryReader(IEndianBinaryReader reader)
 {
     Name     = reader.Read <string>();
     Password = reader.Read <string>();
 }