RuntimePlayerEntry and Player

Developers
brucelei
2007-05-15
2013-06-06
  • brucelei
    brucelei
    2007-05-15

    What's the relationship between marauroa.server.game.RuntimePlayerEntry and games.stendhal.server.entity.player.Player?
    I am not very clear to them.

     
    • RuntimePlayerEntry is the structure to handle all the server glue logic for players, for example, their IP, the last time we got a confirmation from them, the last perception we sent them, the login information ...

      Player is our abstraction at Stendhal for a RPObject that represent a Player.

      The only relation between them is that the RuntimePlayerEntry has a field name object or player ( don't remember ) that contains the object the represent the player. On Marauroa 2.0 you will have a bit more of access over RuntimePlayer to be able to ban and disconnect players.

      BTW player instance != RuntimePlayerEntry.object
      They are different objects.

       
    • brucelei
      brucelei
      2007-05-22

      Thank you Miguel,I'll see more about this.

       


Anonymous


Cancel   Add attachments