|
| | LocalPlayer () |
| |
| void | unlockWalk () |
| |
| void | lockWalk (int millis=250) |
| |
| void | stopAutoWalk () |
| |
| bool | autoWalk (const Position &destination) |
| |
| bool | canWalk (Otc::Direction direction) |
| |
| void | setStates (int states) |
| |
| void | setSkill (Otc::Skill skill, int level, int levelPercent) |
| |
| void | setBaseSkill (Otc::Skill skill, int baseLevel) |
| |
| void | setHealth (double health, double maxHealth) |
| |
| void | setFreeCapacity (double freeCapacity) |
| |
| void | setTotalCapacity (double totalCapacity) |
| |
| void | setExperience (double experience) |
| |
| void | setLevel (double level, double levelPercent) |
| |
| void | setMana (double mana, double maxMana) |
| |
| void | setMagicLevel (double magicLevel, double magicLevelPercent) |
| |
| void | setBaseMagicLevel (double baseMagicLevel) |
| |
| void | setSoul (double soul) |
| |
| void | setStamina (double stamina) |
| |
| void | setKnown (bool known) |
| |
| void | setPendingGame (bool pending) |
| |
| void | setInventoryItem (Otc::InventorySlot inventory, const ItemPtr &item) |
| |
| void | setVocation (int vocation) |
| |
| void | setPremium (bool premium) |
| |
| void | setRegenerationTime (double regenerationTime) |
| |
| void | setOfflineTrainingTime (double offlineTrainingTime) |
| |
| void | setSpells (const std::vector< int > &spells) |
| |
| void | setBlessings (int blessings) |
| |
| int | getStates () |
| |
| int | getSkillLevel (Otc::Skill skill) |
| |
| int | getSkillBaseLevel (Otc::Skill skill) |
| |
| int | getSkillLevelPercent (Otc::Skill skill) |
| |
| int | getVocation () |
| |
| double | getHealth () |
| |
| double | getMaxHealth () |
| |
| double | getFreeCapacity () |
| |
| double | getTotalCapacity () |
| |
| double | getExperience () |
| |
| double | getLevel () |
| |
| double | getLevelPercent () |
| |
| double | getMana () |
| |
| double | getMaxMana () |
| |
| double | getMagicLevel () |
| |
| double | getMagicLevelPercent () |
| |
| double | getBaseMagicLevel () |
| |
| double | getSoul () |
| |
| double | getStamina () |
| |
| double | getRegenerationTime () |
| |
| double | getOfflineTrainingTime () |
| |
| std::vector< int > | getSpells () |
| |
| ItemPtr | getInventoryItem (Otc::InventorySlot inventory) |
| |
| int | getBlessings () |
| |
| bool | hasSight (const Position &pos) |
| |
| bool | isKnown () |
| |
| bool | isPreWalking () |
| |
| bool | isAutoWalking () |
| |
| bool | isServerWalking () |
| |
| bool | isPremium () |
| |
| bool | isPendingGame () |
| |
| LocalPlayerPtr | asLocalPlayer () |
| |
| bool | isLocalPlayer () override |
| |
| void | onAppear () override |
| |
| void | onPositionChange (const Position &newPos, const Position &oldPos) override |
| |
| | Player () |
| |
| virtual | ~Player () |
| |
| PlayerPtr | asPlayer () |
| |
| bool | isPlayer () override |
| |
| | Creature () |
| |
| virtual void | draw (const Point &dest, float scaleFactor, int reDrawFlags, LightView *lightView=nullptr) |
| |
| void | internalDrawOutfit (Point dest, float scaleFactor, bool animateWalk, Otc::Direction direction) |
| |
| void | drawOutfit (const Rect &destRect, bool resize) |
| |
| void | drawInformation (const Point &point, bool useGray, const Rect &parentRect, int drawFlags) |
| |
| void | setId (uint32 id) override |
| |
| void | setName (const std::string &name) |
| |
| void | setHealthPercent (uint8 healthPercent) |
| |
| void | setDirection (Otc::Direction direction) |
| |
| void | setOutfit (const Outfit &outfit) |
| |
| void | setOutfitColor (const Color &color, int duration) |
| |
| void | setLight (const Light &light) |
| |
| void | setSpeed (uint16 speed) |
| |
| void | setBaseSpeed (double baseSpeed) |
| |
| void | setSkull (uint8 skull) |
| |
| void | setShield (uint8 shield) |
| |
| void | setEmblem (uint8 emblem) |
| |
| void | setType (uint8 type) |
| |
| void | setIcon (uint8 icon) |
| |
| void | setSkullTexture (const std::string &filename) |
| |
| void | setShieldTexture (const std::string &filename, bool blink) |
| |
| void | setEmblemTexture (const std::string &filename) |
| |
| void | setTypeTexture (const std::string &filename) |
| |
| void | setIconTexture (const std::string &filename) |
| |
| void | setPassable (bool passable) |
| |
| void | addTimedSquare (uint8 color) |
| |
| void | removeTimedSquare () |
| |
| void | showStaticSquare (const Color &color) |
| |
| void | hideStaticSquare () |
| |
| uint32 | getId () override |
| |
| std::string | getName () |
| |
| uint8 | getHealthPercent () |
| |
| Otc::Direction | getDirection () |
| |
| Outfit | getOutfit () |
| |
| Light | getLight () override |
| |
| bool | hasLight () override |
| |
| uint16 | getSpeed () |
| |
| double | getBaseSpeed () |
| |
| uint8 | getSkull () |
| |
| uint8 | getShield () |
| |
| uint8 | getEmblem () |
| |
| uint8 | getType () |
| |
| uint8 | getIcon () |
| |
| bool | isPassable () |
| |
| int | getStepDuration (bool ignoreDiagonal=false, Otc::Direction dir=Otc::InvalidDirection) |
| |
| Point | getDrawOffset () |
| |
| Point | getWalkOffset () |
| |
| PointF | getJumpOffset () |
| |
| Position | getLastStepFromPosition () |
| |
| Position | getLastStepToPosition () |
| |
| float | getStepProgress () |
| |
| float | getStepTicksLeft () |
| |
| ticks_t | getWalkTicksElapsed () |
| |
| std::array< double, Otc::LastSpeedFormula > | getSpeedFormulaArray () |
| |
| Point | getDisplacement () override |
| |
| int | getDisplacementX () override |
| |
| int | getDisplacementY () override |
| |
| int | getExactSize (int layer=0, int xPattern=0, int yPattern=0, int zPattern=0, int animationPhase=0) override |
| |
| int | getTotalAnimationPhase () |
| |
| int | getCurrentAnimationPhase (bool mount=false) |
| |
| void | updateShield () |
| |
| void | turn (Otc::Direction direction) |
| |
| void | jump (int height, int duration) |
| |
| void | allowAppearWalk () |
| |
| bool | isWalking () |
| |
| bool | isRemoved () |
| |
| bool | isInvisible () |
| |
| bool | isDead () |
| |
| bool | canBeSeen () |
| |
| bool | isCreature () override |
| |
| bool | isParalyzed () const |
| |
| void | updateDynamicInformation (bool update) |
| |
| bool | updateDynamicInformation () const |
| |
| const ThingTypePtr & | getThingType () override |
| |
| ThingType * | rawGetThingType () override |
| |
| ThingType * | rawGetMountThingType () |
| |
| void | onDisappear () override |
| |
| virtual void | onDeath () |
| |
| | Thing () |
| |
| virtual | ~Thing () |
| |
| virtual void | draw (const Point &, float, bool, int=Otc::ReDrawThing, LightView *=nullptr) |
| |
| void | setPosition (const Position &position) |
| |
| void | requestDrawing (const bool force=false) |
| |
| Position | getPosition () |
| |
| int | getStackPriority () |
| |
| const TilePtr & | getTile () |
| |
| ContainerPtr | getParentContainer () |
| |
| int | getStackPos () |
| |
| virtual bool | isItem () |
| |
| virtual bool | isEffect () |
| |
| virtual bool | isMissile () |
| |
| virtual bool | isNpc () |
| |
| virtual bool | isMonster () |
| |
| virtual bool | isAnimatedText () |
| |
| virtual bool | isStaticText () |
| |
| Size | getSize () |
| |
| int | getWidth () |
| |
| int | getHeight () |
| |
| int | getRealSize () |
| |
| int | getLayers () |
| |
| int | getNumPatternX () |
| |
| int | getNumPatternY () |
| |
| int | getNumPatternZ () |
| |
| int | getAnimationPhases () |
| |
| bool | hasAnimationPhases () |
| |
| AnimatorPtr | getAnimator () |
| |
| AnimatorPtr | getIdleAnimator () |
| |
| int | getGroundSpeed () |
| |
| int | getMaxTextLength () |
| |
| int | getMinimapColor () |
| |
| int | getLensHelp () |
| |
| int | getClothSlot () |
| |
| int | getElevation () |
| |
| bool | isGround () |
| |
| bool | isGroundBorder () |
| |
| bool | isOnBottom () |
| |
| bool | isOnTop () |
| |
| virtual bool | isContainer () |
| |
| bool | isStackable () |
| |
| bool | isForceUse () |
| |
| bool | isMultiUse () |
| |
| bool | isWritable () |
| |
| bool | isChargeable () |
| |
| bool | isWritableOnce () |
| |
| bool | isFluidContainer () |
| |
| bool | isSplash () |
| |
| bool | isNotWalkable () |
| |
| bool | isNotMoveable () |
| |
| bool | isMoveable () |
| |
| bool | blockProjectile () |
| |
| bool | isNotPathable () |
| |
| bool | isPickupable () |
| |
| bool | isHangable () |
| |
| bool | isHookSouth () |
| |
| bool | isHookEast () |
| |
| bool | isRotateable () |
| |
| bool | isDontHide () |
| |
| bool | isTranslucent () |
| |
| bool | hasDisplacement () |
| |
| bool | hasElevation () |
| |
| bool | isLyingCorpse () |
| |
| bool | isAnimateAlways () |
| |
| bool | hasMiniMapColor () |
| |
| bool | hasLensHelp () |
| |
| bool | isFullGround () |
| |
| bool | isIgnoreLook () |
| |
| bool | isCloth () |
| |
| bool | isMarketable () |
| |
| bool | isUsable () |
| |
| bool | isWrapable () |
| |
| bool | isUnwrapable () |
| |
| bool | isTopEffect () |
| |
| bool | isOpaque () |
| |
| bool | isTopGround () |
| |
| MarketData | getMarketData () |
| |
| void | startListenerPainter (const float duration) |
| |
| bool | cancelListenerPainter () |
| |
| | LuaObject () |
| |
| virtual | ~LuaObject () |
| |
| template<typename T > |
| void | connectLuaField (const std::string &field, const std::function< T > &f, bool pushFront=false) |
| |
| template<typename... T> |
| int | luaCallLuaField (const std::string &field, const T &... args) |
| |
| template<typename R , typename... T> |
| R | callLuaField (const std::string &field, const T &... args) |
| |
| template<typename... T> |
| void | callLuaField (const std::string &field, const T &... args) |
| |
| bool | hasLuaField (const std::string &field) |
| | Returns true if the lua field exists. More...
|
| |
| template<typename T > |
| void | setLuaField (const std::string &key, const T &value) |
| | Sets a field in this lua object. More...
|
| |
| template<typename T > |
| T | getLuaField (const std::string &key) |
| | Gets a field from this lua object. More...
|
| |
| void | releaseLuaFieldsTable () |
| | Release fields table reference. More...
|
| |
| void | luaSetField (const std::string &key) |
| | Sets a field from this lua object, the value must be on the stack. More...
|
| |
| void | luaGetField (const std::string &key) |
| | Gets a field from this lua object, the result is pushed onto the stack. More...
|
| |
| void | luaGetMetatable () |
| | Get object's metatable. More...
|
| |
| void | luaGetFieldsTable () |
| | Gets the table containing all stored fields of this lua object, the result is pushed onto the stack. More...
|
| |
| int | getUseCount () |
| |
| std::string | getClassName () |
| | Returns the derived class name, its the same name used in Lua. More...
|
| |
| LuaObjectPtr | asLuaObject () |
| |
| void | operator= (const LuaObject &) |
| |
| | shared_object () |
| |
| virtual | ~shared_object () |
| |
| void | add_ref () |
| |
| void | dec_ref () |
| |
| refcount_t | ref_count () |
| |
| template<typename T > |
| stdext::shared_object_ptr< T > | static_self_cast () |
| |
| template<typename T > |
| stdext::shared_object_ptr< T > | dynamic_self_cast () |
| |
| template<typename T > |
| stdext::shared_object_ptr< T > | const_self_cast () |
| |
Definition at line 29 of file localplayer.h.