|
DataObject | SaveGame () |
|
void | LoadGame (DataObject data) |
|
virtual void | ResetAll () |
| Resets faction database and all registered faction members.
|
|
Faction | GetFaction (int factionID) |
| Looks up a faction by its ID.
|
|
Faction | GetFactionSilent (int factionID) |
| Looks up a faction by its ID.
|
|
Faction | GetFaction (int factionID, bool silent) |
| Looks up a faction by its ID.
|
|
Faction | GetFaction (string factionName) |
| Looks up a faction by its name.
|
|
int | GetFactionID (string factionName) |
| Looks up a faction ID by its name.
|
|
void | RegisterFactionMember (FactionMember member) |
| Registers a faction member.
|
|
void | UnregisterFactionMember (FactionMember member) |
| Unregisters a faction member.
|
|
bool | FactionHasAncestor (int factionID, int ancestorID) |
| Checks if a faction has an ancestor (parent, grandparent, etc.)
|
|
bool | FactionHasDirectParent (int factionID, int parentID) |
| Checks if a faction has a direct parent.
|
|
void | AddFactionParent (int factionID, int parentID) |
| Adds a parent to a faction.
|
|
void | RemoveFactionParent (int factionID, int parentID, bool inheritRelationships) |
| Removes a parent from a faction.
|
|
bool | FindPersonalAffinity (int judgeFactionID, int subjectFactionID, out float affinity) |
| Finds this faction's personal affinity for another faction.
|
|
bool | FindAffinity (int judgeFactionID, int subjectFactionID, out float affinity) |
| Finds the affinity of a judging faction to a subject faction.
|
|
float | GetAffinity (int judgeFactionID, int subjectFactionID) |
| Gets the affinity of a judging faction to a subject faction.
|
|
float | GetAffinity (string judgeFactionName, string subjectFactionName) |
| Gets a judge's affinity to a subject using their faction names.
|
|
void | SetPersonalAffinity (int judgeFactionID, int subjectFactionID, float affinity) |
| Sets this faction's personal affinity to another faction.
|
|
void | SetPersonalAffinity (string judgeFactionName, string subjectFactionName, float affinity) |
| Sets a judge's personal affinity to a subject using their faction names.
|
|
void | ModifyPersonalAffinity (int judgeFactionID, int subjectFactionID, float affinityChange) |
| Modifies (increments or decrements) a judge's personal affinity to a subject using their faction IDs.
|
|
void | ModifyPersonalAffinity (string judgeFactionName, string subjectFactionName, float affinityChange) |
| Modifies (increments or decrements) a judge's personal affinity to a subject using their faction names.
|
|
void | ShareAffinity (int judgeFactionID, int otherFactionID, int subjectFactionID) |
| If the faction has personal affinity for a subject and the other doesn't, this gives the other an affinity for the subject based on the other's affinity for this faction.
|
|
void | CommitDeed (FactionMember actor, Deed deed, bool requiresSight, Dimension dimension, float radius) |
| Informs factions that a deed was committed.
|
|
void | CommitDeed (FactionMember actor, Deed deed, bool requiresSight) |
| Commits the deed.
|
|
string | SerializeToString () |
|
void | DeserializeFromString (string s) |
|
This subclass of FactionManager integrates with ORK's save system.
In an ORK project, use it instead of FactionManager.