Exemple #1
0
 public Packet GetPacket(uint id, IDataSerializer packet)
 {
     return(GetPacket(id, DataStreamPool.Take(), packet));
 }
Exemple #2
0
        public PacketWriter TakeWriter()
        {
            var writer = new PacketWriter(DataStreamPool.Take(), DataStreamPool.Take());

            return(writer);
        }
Exemple #3
0
 public Packet GetPacket(uint id)
 {
     return(GetPacket(id, DataStreamPool.Take()));
 }