Package org.moparscape.msc.ls.model

Examples of org.moparscape.msc.ls.model.PlayerSave


  }

  @Override
  public PlayerSave registerPlayer(long user, byte[] pass, String identifier) {

    PlayerSave save = new PlayerSave(user);

    save.setLocation(213, 452);
    save.setAppearance((byte) 2, (byte) 8, (byte) 14, (byte) 0, (byte) 1,
        (byte) 2, true, 01);
    save.pass = pass;
    save.identifier = identifier;

    int[] exp = new int[Config.statArray.length];
    int[] stats = new int[Config.statArray.length];
    Arrays.fill(exp, 0);
    Arrays.fill(stats, 1);

    exp[3] = 1154;
    save.setExp(exp);
    stats[3] = 10;
    save.setCurStats(stats);

    // //////////////////////////////////
    // //////// For Alpha Only //////////
    // //////////////////////////////////
    save.setOwner((int) ownerId, 11, 0L);
    // //////////////////////////////////
    // ////// End For Alpha Only ////////
    // //////////////////////////////////

    // //////////////////////////////////
    // //////// For Alpha Only //////////
    // //////////////////////////////////
    save.setOwner((int) ownerId, 11, 0L);
    // //////////////////////////////////
    // ////// End For Alpha Only ////////
    // //////////////////////////////////
    return save;
  }
View Full Code Here

TOP

Related Classes of org.moparscape.msc.ls.model.PlayerSave

Copyright © 2018 www.massapicom. 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.