public string Password; // PASSWORD_MAXLEN public override void Deserialize(BinaryReader reader) { // base.Deserialize(reader); // SessionKey = reader.ReadString(MediusConstants.SESSIONKEY_MAXLEN); reader.ReadBytes(2); AccountType = reader.Read <MediusAccountType>(); AccountName = reader.ReadString(MediusConstants.ACCOUNTNAME_MAXLEN); Password = reader.ReadString(MediusConstants.PASSWORD_MAXLEN); }
public override void Deserialize(BinaryReader reader) { // base.Deserialize(reader); // reader.ReadBytes(3); StatusCode = reader.Read <MediusCallbackStatus>(); AccountID = reader.ReadInt32(); AccountType = reader.Read <MediusAccountType>(); MediusWorldID = reader.ReadInt32(); ConnectInfo = reader.Read <NetConnectionInfo>(); }