DynRPG v0.32 Unofficial
Plugin SDK
|
Wrapper class for RPG::NamedCatalog pointers (syntactic sugar) More...
#include <NamedCatalogPtr.h>
Public Member Functions | |
T | operator[] (int index) |
Array access operator. | |
T | get (int index) |
Array access method. | |
int | count () |
Returns the number of items in the list (not the highest ID!) | |
Public Attributes | |
NamedCatalog< T > * | ptr |
Wrapper class for RPG::NamedCatalog pointers (syntactic sugar)
Allows you to write RPG::actors[1]->hp
instead of (*
RPG::actors)[1]->hp
, for example.
sizeof(NamedCatalog<T> *)
.