Otclient
14/8/2020
|
#include <binarytree.h>
Public Member Functions | |
BinaryTree (const FileStreamPtr &fin) | |
~BinaryTree () | |
void | seek (uint pos) |
void | skip (uint len) |
uint | tell () |
uint | size () |
uint8 | getU8 () |
uint16 | getU16 () |
uint32 | getU32 () |
uint64 | getU64 () |
std::string | getString (uint16 len=0) |
Point | getPoint () |
BinaryTreeVec | getChildren () |
bool | canRead () |
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 35 of file binarytree.h.
BinaryTree::BinaryTree | ( | const FileStreamPtr & | fin | ) |
Definition at line 26 of file binarytree.cpp.
BinaryTree::~BinaryTree | ( | ) |
Definition at line 32 of file binarytree.cpp.
|
inline |
BinaryTreeVec BinaryTree::getChildren | ( | ) |
Point BinaryTree::getPoint | ( | ) |
std::string BinaryTree::getString | ( | uint16 | len = 0 | ) |
uint16 BinaryTree::getU16 | ( | ) |
Definition at line 130 of file binarytree.cpp.
uint32 BinaryTree::getU32 | ( | ) |
uint64 BinaryTree::getU64 | ( | ) |
uint8 BinaryTree::getU8 | ( | ) |
Definition at line 120 of file binarytree.cpp.
void BinaryTree::seek | ( | uint | pos | ) |
Definition at line 106 of file binarytree.cpp.
|
inline |
void BinaryTree::skip | ( | uint | len | ) |
|
inline |