예제 #1
0
 public override void WritePacket(Client client)
 {
     client.WritePoint(Point);
     client.WriteInt((int)Buttons);
     client.WriteByte((byte)PressEvent);
 }
예제 #2
0
 public override void WritePacket(Client client)
 {
     client.WriteByte((byte)Key);    // BYTE bVk (keydb_event) <= No need to serialize as int ;)
     client.WriteByte((byte)PressEvent);
 }