View Javadoc

1   package net.sourceforge.simplegamenet.chess;
2   
3   public interface ChessPacketCodes {
4   
5       public static final int PARTICIPANTS_ORDER = 0x00000100;
6   
7       public static final int MAKE_MOVE = 0x01100200;
8       public static final int E_MAKE_MOVE = 0xF0100200;
9       public static final int MOVE_MADE = 0x00100300;
10  
11      public static final int MAKE_YIELD = 0x01200400;
12      public static final int YIELD_MADE = 0x00200500;
13  
14      public static final int OFFER_REMISE = 0x01300600;
15      public static final int E_OFFER_REMISE = 0xF0300600;
16      public static final int REMISE_OFFERED = 0x00300700;
17  
18      public static final int ACCEPT_REMISE = 0x01300800;
19      public static final int REMISE_ACCEPTED = 0x00300900;
20  
21      public static final int DECLINE_REMISE = 0x01300A00;
22      public static final int REMISE_DECLINED = 0x00300B00;
23  
24      public static final int PLAY_FIELD = 0x00400C00;
25  
26  }