Planeshift
|
This class manages all marriage related stuff. More...
#include <marriagemanager.h>
Public Member Functions | |
void | ContemplateDivorce (Client *client, csString divorceMsg) |
Confirm divorce. | |
void | DeleteMarriageInfo (psCharacter *charData) |
Deletes marriage information of given character name from DB and reverts any lastname changes and updates cached data. | |
void | Divorce (Client *client, csString divorceMsg) |
Divorce. | |
bool | PerformMarriage (psCharacter *charData, psCharacter *spouseData) |
Sets spouse name for a given character Name. | |
void | Propose (Client *client, csString proposedCharName, csString proposeMsg) |
Propose. | |
void | UpdateName (psCharacter *charData) |
Used to update name in labels, guilds, targets, etc. |
This class manages all marriage related stuff.
This class manages all marriage related functionality and has functions to retrieve/edit character's marriage related details.
Definition at line 41 of file marriagemanager.h.
void psMarriageManager::ContemplateDivorce | ( | Client * | client, |
csString | divorceMsg | ||
) |
Confirm divorce.
void psMarriageManager::DeleteMarriageInfo | ( | psCharacter * | charData | ) |
Deletes marriage information of given character name from DB and reverts any lastname changes and updates cached data.
void psMarriageManager::Divorce | ( | Client * | client, |
csString | divorceMsg | ||
) |
Divorce.
bool psMarriageManager::PerformMarriage | ( | psCharacter * | charData, |
psCharacter * | spouseData | ||
) |
Sets spouse name for a given character Name.
charData | Pointer to the character's data |
spouseData | Pointer to spouse character's data. |
void psMarriageManager::Propose | ( | Client * | client, |
csString | proposedCharName, | ||
csString | proposeMsg | ||
) |
Propose.
void psMarriageManager::UpdateName | ( | psCharacter * | charData | ) |
Used to update name in labels, guilds, targets, etc.