public virtual bool IsActive(ClientObject client) { return(true); }
protected abstract void HandlePacket(ClientObject client, PacketInStream packet);
public InPackageObject(ClientObject client, PacketInStream packet) { this.client = client; this.packet = packet; }
public OutPackageObject(ClientObject client, PacketOutStream packet) { this.client = client; this.packet = packet; }
protected override void HandlePacket(ClientObject client, PacketInStream packet) { long ticks = packet.readLong(); client.Announce(ServerCreatePacket.ping(ticks)); }