4748495051525354555657
rpo.put("type", "player"); rpo.put("name", "player"); rpo.setID(new ID(USER_ID, ZONE_NAME)); final User pl = new User(); pl.initialize(rpo); for (final String slotName : Constants.CARRYING_SLOTS) { rpo.addSlot(slotName); }
4445464748495051525354
final String type = object.getRPClass().getName(); if (type.equals("player") && object.has("name")) { if (StendhalClient.get().getCharacter().equalsIgnoreCase( object.get("name"))) { final User me = new User(); me.initialize(object); EventDispatcher.dispatchEvents(object, me); return me; } }