Example #1
0
 public override Stream StartPacket( PacketType type )
 {
     Stream str = LocalConnection.StartServerToClientPacket();
     return base.StartPacket( type, str );
 }
Example #2
0
 public virtual Stream StartPacket( PacketType type )
 {
     throw new NotImplementedException();
 }
Example #3
0
 protected Stream StartPacket( PacketType type, Stream stream )
 {
     stream.Write( BitConverter.GetBytes( type.ID ), 0, 2 );
     return stream;
 }
Example #4
0
 public void SendPacket( PacketType type )
 {
     StartPacket( type );
     SendPacket();
 }