Пример #1
0
        public void Write <T>(IPacketable <T>[] _data) where T : IPacketable <T>, new()
        {
            Write(_data.Length);

            for (int i = 0; i < _data.Length; i++)
            {
                buffer = PacketableHandler.Write(_data[i], this).buffer;
            }
        }
Пример #2
0
 public void Write <T>(IPacketable <T> _data) where T : IPacketable <T>, new()
 {
     buffer = PacketableHandler.Write(_data, this).buffer;
 }