ManaPlus
Public Member Functions | Data Fields
LocalClan Struct Reference

#include <localclan.h>

Public Member Functions

 LocalClan ()
 
void clear ()
 

Data Fields

std::vector< std::string > allyClans
 
std::vector< std::string > antagonistClans
 
std::string name
 
std::string masterName
 
std::string mapName
 
std::vector< std::string > stats
 
int id
 
int onlineMembers
 
int totalMembers
 

Detailed Description

Definition at line 31 of file localclan.h.

Constructor & Destructor Documentation

◆ LocalClan()

LocalClan::LocalClan ( )
inline

Definition at line 33 of file localclan.h.

33  :
34  allyClans(),
36  name(),
37  masterName(),
38  mapName(),
39  stats(),
40  id(0),
41  onlineMembers(0),
42  totalMembers(0)
43  {
44  }
int onlineMembers
Definition: localclan.h:68
std::string masterName
Definition: localclan.h:64
std::string mapName
Definition: localclan.h:65
std::string name
Definition: localclan.h:63
std::vector< std::string > allyClans
Definition: localclan.h:61
std::vector< std::string > stats
Definition: localclan.h:66
int totalMembers
Definition: localclan.h:69
std::vector< std::string > antagonistClans
Definition: localclan.h:62
int id
Definition: localclan.h:67

Member Function Documentation

◆ clear()

void LocalClan::clear ( )
inline

Definition at line 48 of file localclan.h.

49  {
50  allyClans.clear();
51  antagonistClans.clear();
52  name.clear();
53  masterName.clear();
54  mapName.clear();
55  stats.clear();
56  id = 0;
57  onlineMembers = 0;
58  totalMembers = 0;
59  }

References allyClans, antagonistClans, mapName, masterName, name, onlineMembers, stats, and totalMembers.

Referenced by EAthena::ClanRecv::processClanLeave(), and Client::unloadData().

Field Documentation

◆ allyClans

std::vector<std::string> LocalClan::allyClans

Definition at line 61 of file localclan.h.

Referenced by clear(), EAthena::ClanRecv::processClanInfo(), and ClanWindow::updateClan().

◆ antagonistClans

std::vector<std::string> LocalClan::antagonistClans

Definition at line 62 of file localclan.h.

Referenced by clear(), EAthena::ClanRecv::processClanInfo(), and ClanWindow::updateClan().

◆ id

int LocalClan::id

Definition at line 67 of file localclan.h.

Referenced by EAthena::ClanRecv::processClanInfo().

◆ mapName

std::string LocalClan::mapName

Definition at line 65 of file localclan.h.

Referenced by clear(), EAthena::ClanRecv::processClanInfo(), and InfoClanTab::updateClan().

◆ masterName

std::string LocalClan::masterName

Definition at line 64 of file localclan.h.

Referenced by clear(), EAthena::ClanRecv::processClanInfo(), and InfoClanTab::updateClan().

◆ name

std::string LocalClan::name

Definition at line 63 of file localclan.h.

Referenced by clear(), EAthena::ClanRecv::processClanInfo(), and InfoClanTab::updateClan().

◆ onlineMembers

int LocalClan::onlineMembers

Definition at line 68 of file localclan.h.

Referenced by clear(), and EAthena::ClanRecv::processClanOnlineCount().

◆ stats

std::vector<std::string> LocalClan::stats

Definition at line 66 of file localclan.h.

Referenced by clear(), EAthena::ClanRecv::processClanInfo(), and StatsClanTab::updateClan().

◆ totalMembers

int LocalClan::totalMembers

Definition at line 69 of file localclan.h.

Referenced by clear(), and EAthena::ClanRecv::processClanOnlineCount().


The documentation for this struct was generated from the following file: