![]() |
DynRPG
v0.20
RM2k3 Plugin SDK
|
Wrapper class for RPG::NamedCatalog pointers (syntactic sugar) More...
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> *). | int RPG::NamedCatalogPtr< T >::count | ( | ) | [inline] |
Returns the number of items in the list (not the highest ID!)
| T RPG::NamedCatalogPtr< T >::get | ( | int | index | ) | [inline] |
Array access method.
| T RPG::NamedCatalogPtr< T >::operator[] | ( | int | index | ) | [inline] |
Array access operator.
1.7.6.1