|
Planeshift
|
This class holds info about Creative items such as books, etc. More...
#include <psitemstats.h>
Public Member Functions | |
| PID | GetCreator (PSITEMSTATS_CREATORSTATUS &creatorStatus) |
| Gets the creator and the status of the creator of this creative. More... | |
| bool | IsThisTheCreator (PID characterID) |
| Checks if the passed PID is the creator of this creative. More... | |
| psItemCreativeStats () | |
| constructor More... | |
| void | SetCreator (PID characterID, PSITEMSTATS_CREATORSTATUS creatorStatus) |
| Sets the player passed as the creator of this creative, in case someone doesn't own creation status already, in that case it will be ignored. More... | |
| ~psItemCreativeStats () | |
| destructor More... | |
This class holds info about Creative items such as books, etc.
Definition at line 351 of file psitemstats.h.
| psItemCreativeStats::psItemCreativeStats | ( | ) |
constructor
| psItemCreativeStats::~psItemCreativeStats | ( | ) |
destructor
| PID psItemCreativeStats::GetCreator | ( | PSITEMSTATS_CREATORSTATUS & | creatorStatus | ) |
Gets the creator and the status of the creator of this creative.
| creatorStatus | A reference to a PSITEMSTATS_CREATORSTATUS which will be filled with the informations about the status of the creator. |
| bool psItemCreativeStats::IsThisTheCreator | ( | PID | characterID | ) |
Checks if the passed PID is the creator of this creative.
| characterID | The PID of the player we are checking if it's the creator. |
| void psItemCreativeStats::SetCreator | ( | PID | characterID, |
| PSITEMSTATS_CREATORSTATUS | creatorStatus | ||
| ) |
Sets the player passed as the creator of this creative, in case someone doesn't own creation status already, in that case it will be ignored.
| characterID | The PID of the character who will be the creator of this creative defintion. |
| creatorStatus | A status from PSITEMSTATS_CREATORSTATUS to which setting the creative. |