|
| | Item () |
| |
| virtual | ~Item () |
| |
| void | draw (const Point &dest, float scaleFactor, bool animate, int redrawFlag=Otc::ReDrawThing, LightView *lightView=nullptr) override |
| |
| void | setId (uint32 id) override |
| |
| void | setOtbId (uint16 id) |
| |
| void | setCountOrSubType (int value) |
| |
| void | setCount (int count) |
| |
| void | setSubType (int subType) |
| |
| void | setColor (const Color &c) |
| |
| int | getCountOrSubType () |
| |
| int | getSubType () |
| |
| int | getCount () |
| |
| uint32 | getId () override |
| |
| uint16 | getClientId () |
| |
| uint16 | getServerId () |
| |
| std::string | getName () |
| |
| bool | isValid () |
| |
| void | unserializeItem (const BinaryTreePtr &in) |
| |
| void | serializeItem (const OutputBinaryTreePtr &out) |
| |
| void | setDepotId (uint16 depotId) |
| |
| uint16 | getDepotId () |
| |
| void | setDoorId (uint8 doorId) |
| |
| uint8 | getDoorId () |
| |
| uint16 | getUniqueId () |
| |
| uint16 | getActionId () |
| |
| void | setActionId (uint16 actionId) |
| |
| void | setUniqueId (uint16 uniqueId) |
| |
| std::string | getText () |
| |
| std::string | getDescription () |
| |
| void | setDescription (const std::string &desc) |
| |
| void | setText (const std::string &txt) |
| |
| Position | getTeleportDestination () |
| |
| void | setTeleportDestination (const Position &pos) |
| |
| void | setAsync (bool enable) |
| |
| bool | isHouseDoor () |
| |
| bool | isDepot () |
| |
| bool | isContainer () override |
| |
| bool | isDoor () |
| |
| bool | isTeleport () |
| |
| ItemPtr | clone () |
| |
| ItemPtr | asItem () |
| |
| bool | isItem () override |
| |
| ItemVector | getContainerItems () |
| |
| ItemPtr | getContainerItem (int slot) |
| |
| void | addContainerItemIndexed (const ItemPtr &i, int slot) |
| |
| void | addContainerItem (const ItemPtr &i) |
| |
| void | removeContainerItem (int slot) |
| |
| void | clearContainerItems () |
| |
| void | calculatePatterns (int &xPattern, int &yPattern, int &zPattern) |
| |
| int | calculateAnimationPhase (bool animate) |
| |
| int | getExactSize (int layer=0, int xPattern=0, int yPattern=0, int zPattern=0, int animationPhase=0) override |
| |
| const ThingTypePtr & | getThingType () override |
| |
| ThingType * | rawGetThingType () override |
| |
| void | canDraw (bool canDraw) |
| |
| bool | canDraw () const |
| |
| void | startListenerPainter () |
| |
| | Thing () |
| |
| virtual | ~Thing () |
| |
| void | setPosition (const Position &position) |
| |
| void | requestDrawing (const bool force=false) |
| |
| Position | getPosition () |
| |
| int | getStackPriority () |
| |
| const TilePtr & | getTile () |
| |
| ContainerPtr | getParentContainer () |
| |
| int | getStackPos () |
| |
| virtual bool | isEffect () |
| |
| virtual bool | isMissile () |
| |
| virtual bool | isCreature () |
| |
| virtual bool | isNpc () |
| |
| virtual bool | isMonster () |
| |
| virtual bool | isPlayer () |
| |
| virtual bool | isLocalPlayer () |
| |
| virtual bool | isAnimatedText () |
| |
| virtual bool | isStaticText () |
| |
| Size | getSize () |
| |
| int | getWidth () |
| |
| int | getHeight () |
| |
| int | getRealSize () |
| |
| virtual Point | getDisplacement () |
| |
| virtual int | getDisplacementX () |
| |
| virtual int | getDisplacementY () |
| |
| int | getLayers () |
| |
| int | getNumPatternX () |
| |
| int | getNumPatternY () |
| |
| int | getNumPatternZ () |
| |
| int | getAnimationPhases () |
| |
| bool | hasAnimationPhases () |
| |
| AnimatorPtr | getAnimator () |
| |
| AnimatorPtr | getIdleAnimator () |
| |
| int | getGroundSpeed () |
| |
| int | getMaxTextLength () |
| |
| virtual Light | getLight () |
| |
| virtual bool | hasLight () |
| |
| int | getMinimapColor () |
| |
| int | getLensHelp () |
| |
| int | getClothSlot () |
| |
| int | getElevation () |
| |
| bool | isGround () |
| |
| bool | isGroundBorder () |
| |
| bool | isOnBottom () |
| |
| bool | isOnTop () |
| |
| 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 () |
| |
| virtual void | onPositionChange (const Position &, const Position &) |
| |
| virtual void | onAppear () |
| |
| virtual void | onDisappear () |
| |
| | 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 76 of file item.h.