public override void Write(BenCmdServer client) { client.Write(IsDuplicate); client.Write(BanDemerits); client.Write(IsDeveloper); client.Write(CurrentServer); }
public override void Read(BenCmdServer client) { UserName = client.ReadString(16); Time = client.ReadLong(); Banlist = client.ReadString(16); Reason = client.ReadString(30); Banner = client.ReadString(16); }
public override void Write(BenCmdServer client) { client.Write(Banlist); client.Write(Description); client.Write(IsSubscribed); client.Write(Exists); client.Write(Approved); }
public override void Read(BenCmdServer client) { Reason = client.ReadString(50); }
public override void Write(BenCmdServer client) { // Do nothing }
public override void Read(BenCmdServer client) { // Do nothing }
public override void Read(BenCmdServer client) { Message = client.ReadString(200); Level = (LogLevel)client.ReadSByte(); }
public override void Write(BenCmdServer client) { client.Write(User); }
public override void Read(BenCmdServer client) { Banlist = client.ReadString(16); }
public override void Write(BenCmdServer client) { client.Write((byte)Response); }
public override void Read(BenCmdServer client) { User = client.ReadString(16); }
public override void Read(BenCmdServer client) { User1 = client.ReadString(16); User2 = client.ReadString(16); Reporter = client.ReadString(16); }
public override void Read(BenCmdServer client) { PlayerName = client.ReadString(16); Reason = (LeaveReason)client.ReadByte(); }
public override void Read(BenCmdServer client) { PlayerName = client.ReadString(16); }
public override void Write(BenCmdServer client) { client.Write(Reason); }
/// <summary> /// Send packet data to the specified client. /// </summary> /// <param name='client'> /// The client to write data to. /// </param> /// <exception cref='InvalidOperationException'> /// Is thrown when a read-only package is written. /// </exception> public virtual void Write(BenCmdServer client) { throw new InvalidOperationException("Cannot write this packet type (ID: " + PacketID + ")"); }
public override void Read(BenCmdServer client) { AuthToken = client.ReadString(52); BCBuild = client.ReadInt(); }