ORK Framework  2.22.0
API Documentation
ORKFramework.FactionHandler Class Reference
Inheritance diagram for ORKFramework.FactionHandler:
ORKFramework.ISaveData

Public Member Functions

void Init ()
 
bool IsEnemy (int factionID, int factionID2)
 
float GetSympathy (int factionID, int factionID2)
 
void MemberKilled (int factionID, int factionID2, float change)
 
void ItemTaken (int factionID, int factionID2, float change)
 
void MoneyTaken (int factionID, int factionID2)
 
void ChangeSympathy (int factionID, int factionID2, float change, SimpleOperator op)
 
int GetCurrentBenefit (int factionID, int factionID2)
 
void GetPriceModifiers (int factionID, int factionID2, ref float sell, ref float buy)
 
DataObject SaveGame ()
 Used to save the data - you need to add the data to a ORKFramework.DataObject. More...
 
void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the ORKFramework.DataObject. More...
 

Static Public Member Functions

static FactionHandler Instance ()
 

Member Function Documentation

void ORKFramework.FactionHandler.LoadGame ( DataObject  data)

Used to load the data - you need to get the data from the ORKFramework.DataObject.

Parameters
dataA ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.

DataObject ORKFramework.FactionHandler.SaveGame ( )

Used to save the data - you need to add the data to a ORKFramework.DataObject.

Returns
A ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.