Ejemplo n.º 1
0
 /// <summary>
 /// Reads all data from binary reader
 /// </summary>
 /// <param name="reader"></param>
 public abstract void FromBinaryReader(EndianBinaryReader reader);
Ejemplo n.º 2
0
 public static T ReadPacket <T>(this EndianBinaryReader reader, T packet) where T : ISerializablePacket, new()
 {
     packet.FromBinaryReader(reader);
     return(packet);
 }