Uses of Class
marauroa.common.game.RPObject
Package
Description
the Stendhal Client.
entities are all the interactive objects of the gaming world
(including players, NPCs, creatures, items, signs, chests, portals, ...)
events sent from the server to the client
the user interface including all dialogs, the main game window and
views for the game entities.
common classes for both server and client.
Actions are commands send from the clients to the server.
the scripting backend.
Entities are all the interactive objects of the gaming world
(including players, NPCs, creatures, items, signs, chests, portals, ...)
Interactive scripts that high level admins can invoke.
This package contains the client framework that you need to extend to
implement a real client.
This package contains the client network interface.
This package stores all the important data structures of Marauroa.
Stores all the messages classes.
This package contains the classes that store information about players
connected to server.
high level database access.
This package provides a helper implementation for a Python RP Rules Manager and
a Python World storage.
This is possibly the most complex part of all the middleware that makes up Arianne.
Role Playing Design is the determining factor on how easy is to create a new game for Arianne.
Role Playing Design is the determining factor on how easy is to create a new game for Arianne.
-
Uses of RPObject in games.stendhal.client
Modifier and TypeMethodDescriptionStendhalClient.getPlayer()
Get the RPObject of the user.UserContext.getPlayer()
Modifier and TypeMethodDescriptionvoid
An object was added.boolean
void
An object was added.void
GameObjects.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
UserContext.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
GameObjects.onChangedRemoved(RPObject object, RPObject changes)
An object removed attribute(s).void
UserContext.onChangedRemoved(RPObject object, RPObject changes)
An object removed attribute(s).boolean
boolean
PerceptionListenerImpl.onModifiedAdded(RPObject object, RPObject changes)
boolean
PerceptionListenerImpl.onModifiedDeleted(RPObject object, RPObject changes)
boolean
PerceptionListenerImpl.onMyRPObject(RPObject added, RPObject deleted)
void
An object was removed.void
An object was removed.void
GameObjects.onSlotAdded(RPObject object, String slotName, RPObject sobject)
A slot object was added.void
UserContext.onSlotAdded(RPObject object, String slotName, RPObject sobject)
A slot object was added.void
GameObjects.onSlotChangedAdded(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object added/changed attribute(s).void
UserContext.onSlotChangedAdded(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object added/changed attribute(s).void
GameObjects.onSlotChangedRemoved(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object removed attribute(s).void
UserContext.onSlotChangedRemoved(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object removed attribute(s).void
GameObjects.onSlotRemoved(RPObject object, String slotName, RPObject sobject)
A slot object was removed.void
UserContext.onSlotRemoved(RPObject object, String slotName, RPObject sobject)
A slot object was removed.protected void
void
GameScreen.switchToSpellCastingState(RPObject spell)
Switch to spell casting with an already chosen spell.Modifier and TypeMethodDescriptionprotected void
StendhalClient.onAvailableCharacterDetails(Map<String,RPObject> characters)
-
Uses of RPObject in games.stendhal.client.entity
Modifier and TypeFieldDescriptionprotected RPObject
Entity.rpObject
The arianne object associated with this game entity.Modifier and TypeMethodDescriptionEntity.getRPObject()
Gate.getRPObject()
IEntity.getRPObject()
Get the RPObject this represents.Modifier and TypeMethodDescriptionvoid
ActiveEntity.initialize(RPObject base)
Initialize this entity for an object.void
Blood.initialize(RPObject object)
Initialize this entity for an object.void
BreakableRing.initialize(RPObject object)
Initialize this entity for an object.void
Chest.initialize(RPObject object)
Initialize this entity for an object.void
Corpse.initialize(RPObject object)
Initialize this entity for an object.void
Creature.initialize(RPObject object)
Initialize this entity for an object.void
DomesticAnimal.initialize(RPObject object)
Initialize this entity for an object.void
Door.initialize(RPObject object)
Initialize this entity for an object.void
Entity.initialize(RPObject object)
void
Food.initialize(RPObject object)
Initialize this entity for an object.void
Gate.initialize(RPObject object)
void
GrainField.initialize(RPObject object)
Initialize this entity for an object.void
IEntity.initialize(RPObject object)
Initialize this entity for an object.void
Item.initialize(RPObject object)
Initialize this entity for an object.void
NPC.initialize(RPObject object)
Initialize this entity for an object.void
Portal.initialize(RPObject object)
Initialize this entity for an object.void
RPEntity.initialize(RPObject object)
Initialize this entity for an object.void
An object was added.void
Blood.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
BreakableRing.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
Chest.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
Creature.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
DomesticAnimal.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
Door.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
Entity.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
Food.onChangedAdded(RPObject object, RPObject changes)
A slot object added/changed attribute(s).void
GrainField.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
LoopedSoundSource.onChangedAdded(RPObject object, RPObject changes)
void
NPC.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
Player.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
Portal.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
RPEntity.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
Sign.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
StackableItem.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
User.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
Blood.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
BreakableRing.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
Chest.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
Creature.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
Door.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
Entity.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
NPC.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
Player.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
Portal.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
RPEntity.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
Sign.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
User.onChangedRemoved(RPObject base, RPObject diff)
void
Deprecated.Moving to different listener.void
Entity.onSlotAdded(RPObject object, String slotName, RPObject sobject)
A slot object was added.void
Entity.onSlotChangedAdded(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object added/changed attribute(s).void
Entity.onSlotChangedRemoved(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object removed attribute(s).void
Entity.onSlotRemoved(RPObject object, String slotName, RPObject sobject)
A slot object was removed.protected void
ActiveEntity.processPositioning(RPObject base, RPObject diff)
Process attribute changes that may affect positioning.protected void
Entity.processPositioning(RPObject base, RPObject diff)
Process attribute changes that may affect positioning.protected void
User.processPositioning(RPObject base, RPObject diff)
-
Uses of RPObject in games.stendhal.client.entity.factory
Modifier and TypeMethodDescriptionstatic IEntity
EntityFactory.createEntity(RPObject object)
Creates an Entity of the correct type depending on the Marauroa object. -
Uses of RPObject in games.stendhal.client.events
Modifier and TypeMethodDescriptionstatic void
EventDispatcher.dispatchEvents(RPObject rpobject, Entity entity)
dispatches events -
Uses of RPObject in games.stendhal.client.gui
Modifier and TypeMethodDescriptionstatic OutfitColor
Get an OutfitColor for an RPObject.void
j2DClient.switchToSpellState(RPObject spell)
void
J2DClientGUI.switchToSpellState(RPObject spell)
-
Uses of RPObject in games.stendhal.client.gui.login
ModifierConstructorDescriptionCharacterDialog(Map<String,RPObject> characters, JFrame owner)
Create a newCharacterDialog
. -
Uses of RPObject in games.stendhal.client.gui.spellcasting
-
Uses of RPObject in games.stendhal.client.listener
Modifier and TypeMethodDescriptionvoid
An object was added.void
RPObjectChangeListener.onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
RPObjectChangeListener.onChangedRemoved(RPObject object, RPObject changes)
The object removed attribute(s).void
An object was removed.void
RPObjectChangeListener.onSlotAdded(RPObject object, String slotName, RPObject sobject)
A slot object was added.void
RPObjectChangeListener.onSlotChangedAdded(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object added/changed attribute(s).void
RPObjectChangeListener.onSlotChangedRemoved(RPObject object, String slotName, RPObject sobject, RPObject schanges)
A slot object removed attribute(s).void
RPObjectChangeListener.onSlotRemoved(RPObject object, String slotName, RPObject sobject)
A slot object was removed. -
Uses of RPObject in games.stendhal.common
Modifier and TypeMethodDescriptionstatic RPObject
KeyedSlotUtil.getKeyedSlotObject(SlotOwner slotOwner, String name)
Returns the single object of a "keyed slot". -
Uses of RPObject in games.stendhal.server.actions
-
Uses of RPObject in games.stendhal.server.core.account
ModifierConstructorDescriptionCharacterCreator(String username, String character, RPObject template)
create a CharacterCreator. -
Uses of RPObject in games.stendhal.server.core.engine
Modifier and TypeMethodDescriptionremoves object from zone.StendhalRPZone.remove(RPObject.ID id)
Modifier and TypeMethodDescriptionvoid
void
Adds an object to the ground.void
Adds an object to the ground.StendhalRPRuleProcessor.createCharacter(String username, String character, RPObject template)
void
void
void
ItemLogger.destroyOnLogin(Player player, RPSlot slot, RPObject item)
void
void
boolean
StendhalRPRuleProcessor.onActionAdd(RPObject caster, RPAction action, List<RPAction> actionList)
boolean
boolean
void
removes object from zone. -
Uses of RPObject in games.stendhal.server.core.engine.db
Modifier and TypeMethodDescriptionvoid
StendhalCharacterDAO.addCharacter(DBTransaction transaction, String username, String character, RPObject player, Timestamp timestamp)
void
StendhalItemDAO.itemLogAssignIDIfNotPresent(DBTransaction transaction, RPObject item, Timestamp timestamp)
Assigns the next logid to the specified item in case it does not already have one.void
StendhalItemDAO.itemLogWriteEntry(DBTransaction transaction, Timestamp timestamp, RPObject item, RPEntity player, String event, String param1, String param2, String param3, String param4)
writes a log entryvoid
StendhalCharacterDAO.storeCharacter(DBTransaction transaction, String username, String character, RPObject player, Timestamp timestamp)
-
Uses of RPObject in games.stendhal.server.core.engine.dbcommand
Modifier and TypeMethodDescriptionprotected String
AbstractLogItemEventCommand.getQuantity(RPObject item)
gets the quantity from an item; correctly handles non stackable itemsModifierConstructorDescriptionLogMergeItemEventCommand(RPEntity player, RPObject oldItem, RPObject outlivingItem)
logs merging of item stacksLogSimpleItemEventCommand(RPObject item, RPEntity player, String event, String param1, String param2, String param3, String param4)
creates a simple item log commandLogSplitItemEventCommand(RPEntity player, RPObject item, RPObject newItem)
logs merging of item stacks -
Uses of RPObject in games.stendhal.server.core.engine.transformer
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionstatic void
PlayerTransformer.placePlayerIntoWorldOnLogin(RPObject object, Player player)
Places the player (and his/her sheep if there is one) into the world on login.Transform anRPObject
to an item -
Uses of RPObject in games.stendhal.server.core.events
Modifier and TypeMethodDescriptionvoid
ZoneEnterExitListener.onEntered(RPObject object, StendhalRPZone zone)
Invoked when an entity enters the object area.void
ZoneEnterExitListener.onExited(RPObject object, StendhalRPZone zone)
Invoked when an entity leaves the object area. -
Uses of RPObject in games.stendhal.server.core.scripting
-
Uses of RPObject in games.stendhal.server.entity
Modifier and TypeClassDescriptionclass
An entity that has speed and direction.class
Represents a blood puddle that is left on the ground after an entity was injured or killed.class
Defines an entity whose appearance (outfit) can be changed.class
class
An entity that has speed/direction and is guided via a Path.class
An entity that doesn't move on it's own, but can be moved.class
ModifierConstructorDescriptionActiveEntity(RPObject object)
Create an active entity.DressedEntity(RPObject object)
GuidedEntity(RPObject object)
Create a guided entity.PassiveEntity(RPObject object)
Create a passive entity. -
Uses of RPObject in games.stendhal.server.entity.creature
Modifier and TypeClassDescriptionclass
An creature that will only target enemies which are within a specified area.class
A creature that will be attacked by normal Creatures.class
A baby dragon is a domestic animal that can be owned by a player.class
A cat is a domestic animal that can be owned by a player.class
Server-side representation of a creature.class
A creature that will give no XP to killers.class
A domestic animal can be owned by a player;class
An ItemChangeGuardCreature is a creature that is responsible for guarding a special item (e.g.class
An ItemGuardCreature is a creature that is responsible for guarding a special item (e.g.class
A pet is a domestic animal that can be owned by a player.class
A purple dragon is a domestic animal that can be owned by a player.class
A Raid creature is a creature that doesn't make players killed by it to lose any XP, ATK or DEF.class
ModifierConstructorDescriptionBabyDragon(RPObject object, Player owner)
Creates a Baby Dragon based on an existing pet RPObject, and assigns it to a player.Creates a Cat based on an existing cat RPObject, and assigns it to a player.creates a new CreatureDomesticAnimal(RPObject object)
Creates a wild DomesticAnimal based on an existing RPObject.DomesticAnimal(RPObject object, Player owner)
Creates a wild DomesticAnimal based on an existing RPObject, and assigns it to a player.Creates a Pet based on an existing pet RPObject, and assigns it to a player.PurpleDragon(RPObject object, Player owner)
Creates a Purple Dragon based on an existing pet RPObject, and assigns it to a player.Creates a Sheep based on an existing sheep RPObject, and assigns it to a player. -
Uses of RPObject in games.stendhal.server.entity.item
Modifier and TypeClassDescriptionclass
class
a basket which can be unwrapped.class
Item class that shows some basic information about enemies around Faiumoni.class
a box which can be unwrapped.class
An item that wears & breaks.class
represents the flag in Capture the Flag games - when player holds flag in hand, outfit displays flag.class
Represents everything that can be consumed by RPentity.class
Implementation of container items, such as bags and key rings.class
A corpse created when a creature or player is killed.class
class
class
Weapons that can be given to creatures to adjust their rate of attack, without giving them a visible weapon.class
class
class
A key that matches if the gate identifier is right.class
A key that matches if the identifier and lock number are the right.class
This is an item.class
class
an item to survive in some environments (e.class
A GM only item to help in checking houses.class
class
class
Represents a creature summon staff.class
Represents a stackable item for which we do not want 'Stats' to show in description.class
Class representing an item owned by an entity.class
A present which can be unwrapped.class
A faster rotting corpse for raid use with time limited access to the contents only by the player having been last attacked by it.class
A ring that protects from XP loss.class
A seed can be planted.class
class
An item that can be activated by being held in specific slots.class
class
Consumable item that can be used to cure/prevent a single or multiple status effects.class
An item that is resistant to status attacks when equipped.class
a stocking which can be openedclass
Represents a marked teleport scroll which also poisoned the player.class
A special ring that allows the owner to teleport to his or her spouse. -
Uses of RPObject in games.stendhal.server.entity.item.scroll
Modifier and TypeClassDescriptionclass
Represents the balloon that takes the player to 7 kikareukin clouds, after which it will teleport player to a random location in 6 kikareukin islands.class
Represents an empty/blank pet scroll.class
Represents an empty/unmarked teleport scroll.class
Represents an teleport scroll that acts as an invitation to an event.class
Represents a marked teleport scroll.class
Represents the rainbow beans that takes the player to the dream world zone, after which it will teleport player to a random location in 0_semos_plains_s.class
Represents a scroll.class
Represents a creature summon pet scroll.class
Represents a creature summon scroll.class
Represents a general teleport scroll.class
Represents a teleport scroll that takes the player to a specified location for a specified time, after which it will teleport the player to given location.class
Represents the balloon that takes the player to twilight zone, after which it will teleport player to a random location in ida's sewing room. -
Uses of RPObject in games.stendhal.server.entity.item.timed
Modifier and TypeClassDescriptionclass
class
Abstract base class for a stackable timed item. -
Uses of RPObject in games.stendhal.server.entity.item.token
Modifier and TypeClassDescriptionclass
a token to be used on a game boardclass
Tokens are items which trigger an event on movement. -
Uses of RPObject in games.stendhal.server.entity.mapstuff
Modifier and TypeClassDescriptionclass
class
Burning fire.class
Entity that manages weather properties that are better handled as events than as zone attribute changes. -
Uses of RPObject in games.stendhal.server.entity.mapstuff.area
Modifier and TypeClassDescriptionclass
class
A base area entity.class
class
An area prevents creatures from entering.class
An area that damages an RPEntity while over it.class
An entity that acts as an obstacle for "walking" entities.class
An area that drains an RPEntity of HP while over it.class
Area that sends a private message to any player entering and/or leaving it.class
An base area that performs actions on RPEntity's that are entering, leaving, moving in, or standing in it's space.class
An area that only allows one play at a time to enter.class
an area which consists of tiled imagesclass
An entity that just acts as an obstacle.class
An entity that just acts as a visible obstacle like a wall. -
Uses of RPObject in games.stendhal.server.entity.mapstuff.block
Modifier and TypeClassDescriptionclass
A solid, movable block on a map.class
An entity representing a target for a pushable blockModifier and TypeMethodDescriptionvoid
Block.onEntered(RPObject object, StendhalRPZone zone)
void
Block.onExited(RPObject object, StendhalRPZone zone)
-
Uses of RPObject in games.stendhal.server.entity.mapstuff.chest
Modifier and TypeClassDescriptionclass
A chest is an unmovable container.class
A chest that is for decoration purpose only.class
A PersonalChest is a Chest that can be used by everyone, but shows different contents depending on the player who is currently using it.class
A Chest whose contents are stored by the zone.ModifierConstructorDescriptionCreates a new chest.StoredChest(RPObject rpobject)
Creates a StoredChest based on an existing RPObject. -
Uses of RPObject in games.stendhal.server.entity.mapstuff.game
Modifier and TypeClassDescriptionclass
class
A switch in the 9 switches gameclass
A sokoban boardclass
a target markerclass
A Tic Tac Toe board. -
Uses of RPObject in games.stendhal.server.entity.mapstuff.office
Modifier and TypeClassDescriptionclass
are persistent arrest warrant.class
A sign rented by a player for a fixed amount of time.ModifierConstructorDescriptionArrestWarrant(RPObject rpobject)
creates an ArrestWarrant based on a deserialized RPObject; use the other constructor.RentedSign(RPObject rpobject)
Creates a RentedSign based on an existing RPObject. -
Uses of RPObject in games.stendhal.server.entity.mapstuff.portal
Modifier and TypeClassDescriptionclass
class
A door is a special kind of portal which can be open or closed.class
class
A portal that can be used with a matchingHouseKey
.class
A KeyDestroyingDoor works just like a normal locked door, except that it destroys the key item when used.class
A keyed portal is a special kind of portal which requires a key to pass it.class
A portal which allows only certain levels of player to use it.class
A locked door is a special kind of portal which requires a key to pass it.class
A door to a zone which only one player may enter.class
A OneWayPortalDestination is an invisible point where players are placed when they use a portal that leads there.class
a portal which requires a password to pass throughclass
A portal which teleports the player to another portal if used.class
checks the state of a questclass
class
A portal that sends the using player to a randomly chosen destination.class
ModifierConstructorDescriptionHousePortal(RPObject object)
Create a HousePortal from anRPObject
. -
Uses of RPObject in games.stendhal.server.entity.mapstuff.sign
Modifier and TypeClassDescriptionclass
A map object that when looked at shows the server time.class
A sign (or transparent area) which is placed on the ground and can be looked at.class
A sign (or transparent area) which is placed on the ground and can be looked at closely.class
A Reader is a sign that defaults to "transparent" and 0 resistance.class
A sign for a ShopList.class
A sign which is placed on the ground and can be right clicked by players to be read. -
Uses of RPObject in games.stendhal.server.entity.mapstuff.sound
Modifier and TypeClassDescriptionclass
Plays an ambient sound in a loop.class
A sound event generating object for the churches.class
Plays an ambient sound in a loop.class
Plays a sound and music in a loop.class
Periodicially plays an ambient sound. -
Uses of RPObject in games.stendhal.server.entity.mapstuff.spawner
Modifier and TypeClassDescriptionclass
Is an item producer that destroys itself when item is removed.class
A grain field can be harvested by players who have a scythe.class
This respwan point has to be "used" to get the item.class
A PassiveEntityRespawnPoint basically is a 1x1 area where a plant, a fruit or another non-moving thing grows.class
A regenerative source of food that can be eaten by sheep.class
A growing carrot which can be picked.ModifierConstructorDescriptionFlowerGrower(RPObject object, String itemname)
Constructor for loading FlowerGrower from the stored zone used by StendhalRPObjectFactory.GrowingPassiveEntityRespawnPoint(RPObject object, String type, String itemName, String actionName, int maxRipeness, int growthRate)
Create a GrowingPassiveEntityRespawnPoint from an RPObject.PassiveEntityRespawnPoint(RPObject object, String growingItemName, int meanTurnsForRegrow)
VegetableGrower(RPObject object, String name, int maxRipeness, int growthRate)
Create a VegetableGrower from an RPObject. -
Uses of RPObject in games.stendhal.server.entity.mapstuff.useable
Modifier and TypeClassDescriptionclass
A coal source is a spot where a player can pick for coal.class
A fish source is a spot where a player can fish.class
A gold source is a spot where a player can prospect for gold nuggets.class
An entity that performs some activity for a player.class
Plays a sound on "use".class
an entity that can be placed on the map and will allow the client to "use" it.class
An entity that when used, tells the client to change the view center.class
A water spring source is a spot where a player can fill an empty flask with spring water.class
A well source is a spot where a player can make a wish to gain an item. -
Uses of RPObject in games.stendhal.server.entity.npc
Modifier and TypeClassDescriptionclass
Simple entity used in spectacles.class
class
Base class for ghost NPCs.class
class
class
Base class for rat kid NPCs.class
A stripped down SpeakerNPC that does not interact with playersclass
This is a finite state machine that implements a chat system.class
An entity that can be used for training a player's ATK & RATK stats. -
Uses of RPObject in games.stendhal.server.entity.player
Modifier and TypeMethodDescriptionstatic Player
Player.createZeroLevelPlayer(String characterName, RPObject template)
static void
UpdateConverter.updatePlayerRPObject(RPObject object)
Updates a player RPObject from an old version of Stendhal. -
Uses of RPObject in games.stendhal.server.entity.spell
Modifier and TypeClassDescriptionclass
A spell to attack an entityclass
A healing spell.class
Spell to modify a target's atk valueclass
Spell to modify a target's def valueclass
A spell to modify an RPEntity's base hpclass
Slow down spellclass
The base spell classModifierConstructorDescriptionAttackingSpell(RPObject object)
HealingSpell(RPObject object)
ModifyAtkSpell(RPObject object)
Create a ModifyAtkSpell from a RPObjectModifyDefSpell(RPObject object)
Create a ModifyDefSpell from a RPObjectModifyHpSpell(RPObject object)
Create a new Spell from a RPObjectSlowDownSpell(RPObject object)
Creates a spell from an RPObject -
Uses of RPObject in games.stendhal.server.entity.trade
Modifier and TypeClassDescriptionclass
class
A Market handles sales offers of players.class
Represents an Offer for sale in theMarket
-
Uses of RPObject in games.stendhal.server.maps.nalwor.forest
Modifier and TypeClassDescriptionclass
static class
NPC class that manages access to training area. -
Uses of RPObject in games.stendhal.server.maps.nalwor.hell
Modifier and TypeMethodDescriptionvoid
HellTimer.onEntered(RPObject object, StendhalRPZone zone)
void
HellTimer.onExited(RPObject object, StendhalRPZone zone)
-
Uses of RPObject in games.stendhal.server.maps.quests.maze
-
Uses of RPObject in games.stendhal.server.maps.semos.city
-
Uses of RPObject in games.stendhal.server.maps.semos.tavern.market
-
Uses of RPObject in games.stendhal.server.script
Modifier and TypeMethodDescriptionabstract void
processes the requested operation on the loaded objectvoid
processes the requested operation on the loaded objectvoid
-
Uses of RPObject in marauroa.client
Modifier and TypeMethodDescriptionClientFramework.createCharacter(String character, RPObject template)
Request server to create a character on server.Modifier and TypeMethodDescriptionprotected void
ClientFramework.onAvailableCharacterDetails(Map<String,RPObject> characters)
It is called when we get the list of characters -
Uses of RPObject in marauroa.client.net
Modifier and TypeMethodDescriptionboolean
onAdded is called when an object is added to the world for first time or after a sync perception.boolean
onDeleted is called when an object is removed of the world Return true to stop further processing.boolean
IPerceptionListener.onModifiedAdded(RPObject object, RPObject changes)
onModifiedAdded is called when an object is modified by adding or changing one of its attributes.boolean
IPerceptionListener.onModifiedDeleted(RPObject object, RPObject changes)
onModifiedDeleted is called each time the object has one of its attributes removed.boolean
IPerceptionListener.onMyRPObject(RPObject added, RPObject deleted)
onMyRPObject is called when our rpobject avatar is processed.Modifier and TypeMethodDescriptionvoid
PerceptionHandler.apply(MessageS2CPerception message, Map<RPObject.ID,RPObject> world_instance)
Apply a perception to a world instance. -
Uses of RPObject in marauroa.common.game
Modifier and TypeFieldDescriptionPerception.addedList
The added objectsPerception.deletedList
The deleted objectsPerception.modifiedAddedList
The modified added objectsPerception.modifiedDeletedList
The modified deleted objectsModifier and TypeMethodDescriptionIRPZone.get(RPObject.ID id)
This method returns an object of the Zone.RPSlot.get(RPObject.ID id)
Gets the object from the slotRPObject.getBaseContainer()
Returns the base container where this object isRPObject.getContainer()
Returns the container where this object isRPSlot.getFirst()
Gets the first object from the slot.RPObject.getFromSlots(int id)
Gets and object from the tree of RPSlots using its id ( that it is unique ).RPObject.getLinkedObject(String name)
Return the linked object by the given link or null if the link doesn't exist.RPLink.getObject()
Returns the object that represent this rplink.CharacterResult.getTemplate()
Returns the template object used.IRPZone.remove(RPObject.ID id)
This method removed an object of the Zone and return it.RPSlot.remove(RPObject.ID id)
This method removes the object from the slot.Modifier and TypeMethodDescriptionIRPZone.iterator()
Iterates over the elements of the zoneRPSlot.iterator()
Iterate over the objects of the slot.Modifier and TypeMethodDescriptionvoid
This method adds an object to the Zone.int
Add an object to the slot.protected int
adds an object to a slot preserving its it.void
This method adds an added object to the perceptionvoid
Adds a new link to the object.int
RPSlot.addPreservingId(RPObject object)
adds an object to a slot preserving its it.void
RPObject.applyDifferences(RPObject addedChanges, RPObject deletedChanges)
With the differences computed by getDifferences in added and deleted we build an update object by applying the changes.void
IRPZone.assignRPObjectID(RPObject object)
Assigns a valid RPObject.ID to the object given as parametervoid
Copy constructorvoid
RPObject.getDifferences(RPObject addedChanges, RPObject deletedChanges)
Retrieve the differences stored in this object and add them to two new objects added changes and delete changes that will contains added and modified attributes, slots and events and on the other hand deleted changes that will contain the removes slots and attributes.IRPZone.getPerception(RPObject player, byte type)
This method return the perception of a zone for a playerboolean
RPSlot.hasAsAncestor(RPObject object)
Traverses up the container tree to see if the slot is owned by object or by one of its parentsvoid
Hide an object from the perceptions, but it doesn't remove it from world.void
This method adds an modified object of the worldvoid
This method tag an object of the Zone as modified.void
This method adds a removed object of the worldvoid
RPObject.setAddedMaps(RPObject object)
adds the maps added in the specified object as maps to this objectvoid
RPObject.setAddedRPSlot(RPObject object)
Set added objects in slots for this object and fill object passed as param.void
RPObject.setDeletedMaps(RPObject object)
adds the maps deleted in the specified object as maps to this objectvoid
RPObject.setDeletedRPSlot(RPObject object)
Set deleted objects in slots for this object and fill object passed as param.void
Sets the object for this RPLink.void
Set the owner of this RPEvent.void
Makes a hidden object to be visible again. -
Uses of RPObject in marauroa.common.net.message
Modifier and TypeMethodDescriptionMessageS2CPerception.getMyRPObjectAdded()
gets the added information for the personal objectMessageS2CPerception.getMyRPObjectDeleted()
gets the deleted information for the personal objectMessageC2SCreateCharacter.getTemplate()
Returns the object templateMessageP2SCreateCharacter.getTemplate()
Returns the object templateMessageS2CCreateCharacterACK.getTemplate()
The modifications of the template that the server did.Modifier and TypeMethodDescriptionMessageS2CPerception.getAddedRPObjects()
This method returns the list of modified objectsMessageS2CCharacterList.getCharacterDetails()
This method returns the list of characters that the player ownsMessageS2CPerception.getDeletedRPObjects()
This method returns the list of deleted objectsMessageS2CPerception.getModifiedAddedRPObjects()
This method returns the list of modified objectsMessageS2CPerception.getModifiedDeletedRPObjects()
This method returns the list of modified objectsModifier and TypeMethodDescriptionvoid
MessageS2CPerception.setMyRPObject(RPObject added, RPObject deleted)
sets the added and deleted information for the destination playerModifierConstructorDescriptionMessageC2SCreateCharacter(Channel source, String character, RPObject template)
Constructor with a TCP/IP source/destination of the message and character name and character configuration.MessageP2SCreateCharacter(Channel source, String credentials, String forwardedFor, String username, String character, RPObject template)
Constructor with a TCP/IP source/destination of the message and character name and character configuration.MessageS2CCreateCharacterACK(Channel source, String character, RPObject template)
Constructor with a TCP/IP source/destination of the message and approved character name and avatar configuration.ModifierConstructorDescriptionMessageS2CCharacterList(Channel source, Map<String,RPObject> characters)
Constructor with a TCP/IP source/destination of the message and a list with the characters available to be played. -
Uses of RPObject in marauroa.server.game.container
Modifier and TypeMethodDescriptionThis method returns the entry that has been associated to this player or null if it does not exists.void
sets the RPObject for this entry.void
PlayerEntry.storeRPObject(RPObject player)
This method stores an object at database backend -
Uses of RPObject in marauroa.server.game.db
Modifier and TypeMethodDescriptionCharacterDAO.loadCharacter(String username, String character)
Deprecated.CharacterDAO.loadCharacter(DBTransaction transaction, String username, String character)
This method loads the character's avatar associated with this character from the database.RPObjectDAO.loadRPObject(int objectid)
Deprecated.RPObjectDAO.loadRPObject(int objectid, boolean transform)
Deprecated.RPObjectDAO.loadRPObject(DBTransaction transaction, int objectid)
loads an RPObject form the database, using the factory to create the correct subclassRPObjectDAO.loadRPObject(DBTransaction transaction, int objectid, boolean transform)
loads an RPObject form the databaseRPObjectDAO.readRPObject(int objectid, byte[] data, int protocolVersion, boolean transform)
reads an RPObject that has already been loaded from the databaseModifier and TypeMethodDescriptionCharacterDAO.loadAllActiveCharacters(String username)
Deprecated.CharacterDAO.loadAllActiveCharacters(DBTransaction transaction, String username)
This method loads all active the characters associated with this username from the database.CharacterDAO.loadAllCharacters(String username)
Deprecated.CharacterDAO.loadAllCharacters(DBTransaction transaction, String username)
This method loads all the characters associated with this username from the database.Modifier and TypeMethodDescriptionvoid
CharacterDAO.addCharacter(String username, String character, RPObject player)
Deprecated.void
CharacterDAO.addCharacter(DBTransaction transaction, String username, String character, RPObject player)
Deprecated.void
CharacterDAO.addCharacter(DBTransaction transaction, String username, String character, RPObject player, Timestamp timestamp)
creates a new charactervoid
CharacterDAO.storeCharacter(String username, String character, RPObject player)
Deprecated.void
CharacterDAO.storeCharacter(DBTransaction transaction, String username, String character, RPObject player)
Deprecated.void
CharacterDAO.storeCharacter(DBTransaction transaction, String username, String character, RPObject player, Timestamp timestamp)
This method stores a character's avatar in the database and updates the link with the Character table.int
RPObjectDAO.storeRPObject(RPObject object)
Deprecated.int
RPObjectDAO.storeRPObject(DBTransaction transaction, RPObject object)
saves an RPObject to the databaseModifier and TypeMethodDescriptionvoid
RPZoneDAO.storeRPZone(DBTransaction transaction, IRPZone zone, Iterable<RPObject> content)
saves storable objects for the specified zone to the database -
Uses of RPObject in marauroa.server.game.dbcommand
Modifier and TypeMethodDescriptionLoadAllActiveCharactersCommand.getCharacters()
Gets the characters mapLoadAllCharactersCommand.getCharacters()
Gets the characters mapModifierConstructorDescriptionStoreCharacterCommand(String username, String character, RPObject object)
Asynchronously stores a character's progressModifierConstructorDescriptionStoreZoneCommand(IRPZone zone, List<RPObject> frozenContent)
Asynchronously stores a zone -
Uses of RPObject in marauroa.server.game.python
Modifier and TypeMethodDescriptionPythonRP.createCharacter(String username, String character, RPObject template)
Creates an new character for an account already logged into the gamePythonRPRuleProcessor.createCharacter(String username, String character, RPObject template)
void
Execute an action in the name of a player.void
boolean
PythonRP.onActionAdd(RPObject object, RPAction action, List<RPAction> actionList)
This method is called *before* adding an action by RPScheduler so you can choose not to allow the action to be added by returning falseboolean
PythonRPRuleProcessor.onActionAdd(RPObject object, RPAction action, List<RPAction> actionList)
boolean
Callback method called when a player exits the gameboolean
boolean
Callback method called when a new player enters in the gameboolean
void
Callback method called when a new player time out.void
void
PythonRP.transferContent(RPObject target, List<TransferContent> content)
Transfer content to client. -
Uses of RPObject in marauroa.server.game.rp
Modifier and TypeFieldDescriptionprotected Map<RPObject.ID,RPObject>
MarauroaRPZone.objects
Objects contained by the zone indexed by its id.Modifier and TypeMethodDescriptionprotected RPObject
RPRuleProcessorImpl.createCharacterObject(String username, String character, RPObject template)
Creates an new character object that will used by createCharacterMarauroaRPZone.get(RPObject.ID id)
Returns the object which id is id.RPWorld.get(RPObject.ID id)
This method returns an object from a zone using it IDMarauroaRPZone.remove(RPObject.ID id)
Removes the object from zone.RPWorld.remove(RPObject.ID id)
This method returns an object from a zone using it IDThis method is called when object is serialized back from database to zone, so you can define which subclass of RPObject we are going to use.Modifier and TypeMethodDescriptionMarauroaRPZone.iterator()
Iterates over all the objects in the zone.Modifier and TypeMethodDescriptionvoid
This method adds an object to this zone.void
This method adds an object to the zone it points with its zoneid attribute.boolean
RPScheduler.addRPAction(RPObject object, RPAction action, IRPRuleProcessor ruleProcessor)
Add an RPAction to the scheduler for the next turnvoid
RPServerManager.addRPAction(RPObject object, RPAction action)
Adds an action for the next turnvoid
MarauroaRPZone.assignRPObjectID(RPObject object)
This method assigns a valid id to the object.void
RPWorld.changeZone(String newzone, RPObject object)
This methods make a player/object to change zone.void
RPWorld.changeZone(IRPZone.ID newzoneid, RPObject object)
This methods make a player/object to change zone.void
RPScheduler.clearRPActions(RPObject object)
This method clears the actions that may exist in actual turn or the next one for the giver object id.IRPRuleProcessor.createCharacter(String username, String character, RPObject template)
Creates an new character for an account already logged into the gameRPRuleProcessorImpl.createCharacter(String username, String character, RPObject template)
Creates an new character for an account already logged into the gameRPServerManager.createCharacter(String username, String character, RPObject template, String address)
Creates a character for a account of a playerprotected RPObject
RPRuleProcessorImpl.createCharacterObject(String username, String character, RPObject template)
Creates an new character object that will used by createCharactervoid
RPServerManager.disconnectPlayer(RPObject object)
This method disconnects a player from the server.void
Execute an action in the name of a player.void
Execute an action in the name of a player.boolean
DebugInterface.executeAction(RPObject object, RPAction action)
an action is about to be executedMarauroaRPZone.getPerception(RPObject player, byte type)
Returns the perception of given type for that object.void
Hide an object from the perceptions, but it doesn't remove it from world.void
This method notify zone that the object has been modified.void
This method notify zone that object has been modified.boolean
IRPRuleProcessor.onActionAdd(RPObject object, RPAction action, List<RPAction> actionList)
This method is called *before* adding an action by RPScheduler so you can choose not to allow the action to be added by returning falseboolean
RPRuleProcessorImpl.onActionAdd(RPObject caster, RPAction action, List<RPAction> actionList)
This method is called *before* adding an action by RPScheduler so you can choose not to allow the action to be added by returning falsevoid
reports crashesboolean
This method is called when a player leaves the gameboolean
Callback method called when a player exits the gameboolean
Callback method called when a player exits the gameboolean
This method is called when a player leaves the gameboolean
This method is called when a player is added to the game worldboolean
Callback method called when a new player enters in the gameboolean
Callback method called when a new player enters in the gameboolean
This method is called when a player is added to the gamevoid
This method is called when connection to client is closedvoid
Callback method called when a new player time out.void
Callback method called when a new player time out.void
This method is called when connection to client is closedvoid
RPWorld.requestSync(RPObject object)
When a player is added to a zone, it needs his status to be synced.void
RPServerManager.transferContent(RPObject target, List<TransferContent> content)
This method is triggered to send content to the clientsvoid
RPServerManager.transferContent(RPObject target, TransferContent content)
This method is triggered to send content to the clientsThis method is called when object is serialized back from database to zone, so you can define which subclass of RPObject we are going to use.void
Makes a hidden object to be visible again.