|
Otclient 1.0
14/8/2020
|
#include <animator.h>


Public Member Functions | |
| Animator () | |
| void | unserialize (int animationPhases, const FileStreamPtr &fin) |
| void | serialize (const FileStreamPtr &fin) |
| void | setPhase (int phase) |
| void | resetAnimation () |
| int | getPhase () |
| int | getPhaseAt (ticks_t time) |
| int | getStartPhase () const |
| int | getAnimationPhases () |
| int | getAverageDuration () |
| bool | isAsync () |
| bool | isComplete () |
| ticks_t | getTotalDuration () |
Public Member Functions inherited from stdext::shared_object | |
| 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 43 of file animator.h.
| Animator::Animator | ( | ) |
Definition at line 29 of file animator.cpp.
|
inline |
|
inline |
Definition at line 57 of file animator.h.


| int Animator::getPhase | ( | ) |
Definition at line 96 of file animator.cpp.


| int Animator::getPhaseAt | ( | ticks_t | time | ) |
Definition at line 126 of file animator.cpp.


| int Animator::getStartPhase | ( | ) | const |
Definition at line 144 of file animator.cpp.


| ticks_t Animator::getTotalDuration | ( | ) |
Definition at line 219 of file animator.cpp.


|
inline |
Definition at line 59 of file animator.h.
|
inline |
Definition at line 60 of file animator.h.
| void Animator::resetAnimation | ( | ) |
| void Animator::serialize | ( | const FileStreamPtr & | fin | ) |
Definition at line 62 of file animator.cpp.


| void Animator::setPhase | ( | int | phase | ) |
Definition at line 74 of file animator.cpp.


| void Animator::unserialize | ( | int | animationPhases, |
| const FileStreamPtr & | fin | ||
| ) |
Definition at line 43 of file animator.cpp.

