|
Pol
Rev 533
|
#include <guildmod.h>
Inheritance diagram for Guild:
Collaboration diagram for Guild:Public Member Functions | |
| Guild (ConfigElem &elem) | |
| Guild (unsigned int guildid) | |
| void | addMember (unsigned int serial) |
| void | disband () |
| bool | disbanded () const |
| unsigned int | guildid () const |
| bool | hasAllies () const |
| bool | hasAlly (const Guild *g2) const |
| bool | hasEnemies () const |
| bool | hasEnemy (const Guild *g2) const |
| bool | hasMembers () const |
| void | printOn (std::ostream &os) const |
| void | registerWithMembers () |
| void | update_online_members () |
| void | update_online_members_remove (Character *chr) |
Private Attributes | |
| SerialSet | _allyguild_serials |
| bool | _disbanded |
| SerialSet | _enemyguild_serials |
| unsigned int | _guildid |
| SerialSet | _member_serials |
| PropertyList | _proplist |
Friends | |
| class | EGuildRefObjImp |
Definition at line 27 of file guildmod.h.
| Guild::Guild | ( | ConfigElem & | elem | ) | [explicit] |
Definition at line 121 of file guildmod.cpp.
References _proplist, and PropertyList::readProperties().
Here is the call graph for this function:| Guild::Guild | ( | unsigned int | guildid | ) | [explicit] |
Definition at line 132 of file guildmod.cpp.
References _guildid, and nextguildid.
| void Guild::addMember | ( | unsigned int | serial | ) |
Definition at line 254 of file guildmod.cpp.
References _member_serials.
Referenced by FindOrCreateGuild().
Here is the caller graph for this function:| void Guild::disband | ( | ) |
Definition at line 212 of file guildmod.cpp.
References _disbanded.
Referenced by GuildExecutorModule::mf_DestroyGuild().
Here is the caller graph for this function:| bool Guild::disbanded | ( | ) | const |
Definition at line 207 of file guildmod.cpp.
References _disbanded.
Referenced by getGuildParam().
Here is the caller graph for this function:| unsigned int Guild::guildid | ( | ) | const |
Definition at line 202 of file guildmod.cpp.
References _guildid.
Referenced by EGuildRefObjImp::call_method_id(), Character::guildid(), hasAlly(), hasEnemy(), GuildExecutorModule::mf_CreateGuild(), GuildExecutorModule::mf_DestroyGuild(), and read_guilds_dat().
Here is the caller graph for this function:| bool Guild::hasAllies | ( | ) | const |
Definition at line 222 of file guildmod.cpp.
References _allyguild_serials.
Referenced by GuildExecutorModule::mf_DestroyGuild().
Here is the caller graph for this function:| bool Guild::hasAlly | ( | const Guild * | g2 | ) | const |
Definition at line 226 of file guildmod.cpp.
References _allyguild_serials, and guildid().
Referenced by AreAllies().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Guild::hasEnemies | ( | ) | const |
Definition at line 231 of file guildmod.cpp.
References _enemyguild_serials.
Referenced by GuildExecutorModule::mf_DestroyGuild().
Here is the caller graph for this function:| bool Guild::hasEnemy | ( | const Guild * | g2 | ) | const |
Definition at line 235 of file guildmod.cpp.
References _enemyguild_serials, and guildid().
Referenced by AreEnemies().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Guild::hasMembers | ( | ) | const |
Definition at line 217 of file guildmod.cpp.
References _member_serials.
Referenced by GuildExecutorModule::mf_DestroyGuild().
Here is the caller graph for this function:| void Guild::printOn | ( | std::ostream & | os | ) | const |
Definition at line 241 of file guildmod.cpp.
References _allyguild_serials, _enemyguild_serials, _guildid, _member_serials, _proplist, pf_endl, PropertyList::printProperties(), and SerialSet::writeOn().
Referenced by write_guilds().
Here is the call graph for this function:
Here is the caller graph for this function:| void Guild::registerWithMembers | ( | ) |
Definition at line 144 of file guildmod.cpp.
References _member_serials, Character::guild(), and system_find_mobile().
Referenced by register_guilds().
Here is the call graph for this function:
Here is the caller graph for this function:| void Guild::update_online_members | ( | ) |
Definition at line 164 of file guildmod.cpp.
References _member_serials, Character::client, send_create_mobile_to_nearby_cansee(), send_move(), send_remove_character_to_nearby_cansee(), and system_find_mobile().
Referenced by EGuildRefObjImp::call_method_id().
Here is the call graph for this function:
Here is the caller graph for this function:| void Guild::update_online_members_remove | ( | Character * | chr | ) |
Definition at line 192 of file guildmod.cpp.
References Character::client, send_create_mobile_to_nearby_cansee(), send_move(), and send_remove_character_to_nearby_cansee().
Here is the call graph for this function:friend class EGuildRefObjImp [friend] |
Definition at line 52 of file guildmod.h.
SerialSet Guild::_allyguild_serials [private] |
Definition at line 57 of file guildmod.h.
Referenced by EGuildRefObjImp::call_method_id(), hasAllies(), hasAlly(), and printOn().
bool Guild::_disbanded [private] |
Definition at line 60 of file guildmod.h.
Referenced by disband(), and disbanded().
SerialSet Guild::_enemyguild_serials [private] |
Definition at line 58 of file guildmod.h.
Referenced by EGuildRefObjImp::call_method_id(), hasEnemies(), hasEnemy(), and printOn().
unsigned int Guild::_guildid [private] |
Definition at line 55 of file guildmod.h.
SerialSet Guild::_member_serials [private] |
Definition at line 56 of file guildmod.h.
Referenced by addMember(), hasMembers(), printOn(), registerWithMembers(), and update_online_members().
PropertyList Guild::_proplist [private] |
Definition at line 59 of file guildmod.h.