Examples of storeRPObject()


Examples of marauroa.server.game.container.PlayerEntry.storeRPObject()

        /*
         * If client was playing the game request the RP to disconnected it.
         */
        try {
          rpMan.onTimeout(entry.object);
          entry.storeRPObject(entry.object);
        } catch (Exception e) {
          logger.error("Error disconnecting player" + entry, e);
        }
      }

View Full Code Here

Examples of marauroa.server.game.container.PlayerEntry.storeRPObject()

       */
      if (entry.state == ClientState.GAME_BEGIN) {
        playerContainer.getLock().requestWriteLock();
        if (rpMan.onExit(object)) {
          /* NOTE: Set the Object so that it is stored in Database */
          entry.storeRPObject(object);
        } else {
          /*
           * If RPManager returned false, that means that logout is
           * not allowed right now, so player request is rejected.
           * This can be useful to disallow logout on some situations.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.