Exemplo n.º 1
0
 public override bool DeSerialize(byte[] data, Pointer p)
 {
     base.DeSerialize(data, p);
     m_rijndaelExchange = BitPacker.GetBytes(data, p);
     PublicRSAKey       = BitPacker.GetBytes(data, p);
     return(true);
 }
Exemplo n.º 2
0
 public override bool DeSerialize(byte[] data, Pointer p)
 {
     base.DeSerialize(data, p);
     OriginServer = BitPacker.GetString(data, p);
     TargetServer = BitPacker.GetString(data, p);
     To           = new Guid(BitPacker.GetString(data, p));
     From         = BitPacker.GetSerializableWispObject(data, p) as CharacterInfo;
     Message      = BitPacker.GetBytes(data, p);
     return(true);
 }
Exemplo n.º 3
0
 public override bool DeSerialize(byte[] data, Pointer p)
 {
     base.DeSerialize(data, p);
     Description = BitPacker.GetString(data, p);
     TotalLength = BitPacker.GetLong(data, p);
     Final       = BitPacker.GetBool(data, p);
     Initial     = BitPacker.GetBool(data, p);
     Arg         = BitPacker.GetString(data, p);
     Buffer      = BitPacker.GetBytes(data, p);
     return(true);
 }
 public override bool DeSerialize(byte[] data, Pointer p)
 {
     //Log.LogMsg("Attempting deserialize Rijndael Request.");
     base.DeSerialize(data, p);
     this.m_ServerVersion     = new Version(BitPacker.GetString(data, p));
     this.m_PublicRSAKey      = BitPacker.GetBytes(data, p);
     this.m_ConnectionKeySize = BitPacker.GetInt(data, p);
     this.ServerName          = BitPacker.GetString(data, p);
     this.MaxPlayers          = BitPacker.GetInt(data, p);
     this.CurrentPlayers      = BitPacker.GetInt(data, p);
     //Log.LogMsg("Deserialized Rijndael Request." + PublicRSAKey);
     return(true);
 }
Exemplo n.º 5
0
 public override bool DeSerialize(byte[] data, Pointer p)
 {
     base.DeSerialize(data, p);
     Key = BitPacker.GetBytes(data, p);
     return true;
 }
Exemplo n.º 6
0
 public override void DeserializeValue(byte[] dat, Pointer p)
 {
     Name    = BitPacker.GetString(dat, p);
     m_Value = BitPacker.GetBytes(dat, p);
 }