|
Planeshift
|
This class manages all marriage related stuff. More...
#include <marriagemanager.h>
Public Member Functions | |
| void | ContemplateDivorce (Client *client, csString divorceMsg) |
| Confirm divorce. More... | |
| void | DeleteMarriageInfo (psCharacter *charData) |
| Deletes marriage information of given character name from DB and reverts any lastname changes and updates cached data. More... | |
| void | Divorce (Client *client, csString divorceMsg) |
| Divorce. More... | |
| bool | PerformMarriage (psCharacter *charData, psCharacter *spouseData) |
| Sets spouse name for a given character Name. More... | |
| void | Propose (Client *client, csString proposedCharName, csString proposeMsg) |
| Propose. More... | |
| void | UpdateName (psCharacter *charData) |
| Used to update name in labels, guilds, targets, etc. More... | |
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.