Inherits IFaction.
Public Member Functions | |
| Faction (int id, const string& name, const string& database_name, int update_seq) | |
| int | get_Id () const |
| string | get_Name () const |
| int | get_StringId () const |
| string | get_Database () const |
| int | get_UpdateSeq () const |
| void | set_UpdateSeq (int val) |
| int | GetRank (int cr_id) const |
| void | SetRank (int cr_id, int rank) |
| int | GetStatus (int cr_id) const |
| void | SetStatus (int cr_id, int status) |
| int | GetMembers (array< uint >& members) const |
| Retrieves the array of id numbers for all members of the faction. | |
| int | GetRecords (array< uint >& records) const |
| void | AddKnownFaction (int faction_id) |
| Adds faction to the list of known factions. | |
| int | GetKnownFactions (array< int >& factions) const |
| Retrieves the list of factions that players have entered into their terminal and are therefore recognized by them. | |
| void | Remove () |
Public Attributes | |
| int | id |
| string | name |
| string | database |
| int | update_seq |
| FactionData@ | data |
| int get_Id | ( | ) | const |
Implements IFaction.
| int get_StringId | ( | ) | const |
Implements IFaction.
| int get_UpdateSeq | ( | ) | const |
Implements IFaction.
| void set_UpdateSeq | ( | int | val | ) |
Implements IFaction.
| int GetRank | ( | int | cr_id | ) | const |
Implements IFaction.
| void SetRank | ( | int | cr_id, | |
| int | rank | |||
| ) |
Implements IFaction.
| int GetStatus | ( | int | cr_id | ) | const |
Implements IFaction.
| void SetStatus | ( | int | cr_id, | |
| int | status | |||
| ) |
Implements IFaction.
| int GetMembers | ( | array< uint >& | ) | const |
Retrieves the array of id numbers for all members of the faction.
Implements IFaction.
| int GetRecords | ( | array< uint >& | records | ) | const |
Implements IFaction.
| void AddKnownFaction | ( | int | ) |
Adds faction to the list of known factions.
Implements IFaction.
| int GetKnownFactions | ( | array< int >& | ) | const |
Retrieves the list of factions that players have entered into their terminal and are therefore recognized by them.
Implements IFaction.
| void Remove | ( | ) |
Implements IFaction.
| int id |
| int update_seq |
1.7.1