public bool Connect() { return(_server.NewPlayer(_id, OnRecieveMsg) == GameServerReturnCode.OK); }
public bool Connect(float posX, float posY, int function) { return(_server.NewPlayer(_id, posX, posY, function, OnRecieveMsg) == GameServerReturnCode.OK); }