getClient() public method

public getClient ( ) : GameClient
return GameClient
Ejemplo n.º 1
0
 public void prepareServerChange(Character ch)
 {
     GameClient client=ch.getClient();
     //assert(client);
     client.status=(int)ClientStatus.CLIENT_CHANGE_SERVER;
 }
Ejemplo n.º 2
0
 public void sendTo(Character beingPtr, MessageOut msg)
 {
     GameClient client=beingPtr.getClient();
     //assert(client&&client.status==CLIENT_CONNECTED);
     client.send(msg);
 }
Ejemplo n.º 3
0
 public void kill(Character ch)
 {
     GameClient client=ch.getClient();
     //assert(client);
     client.character=null;
     client.status=(int)ClientStatus.CLIENT_LOGIN;
     ch.setClient(null);
 }