Riwmorld
RimWorld.Faction Class Reference
Inheritance diagram for RimWorld.Faction:
RimWorld.ICommunicable Verse.ILoadReferenceable Verse.IExposable

Public Member Functions

void AffectGoodwillWith (Faction other, float goodwillChange)
 
void DebugDrawOnMap ()
 
string DebugString ()
 
void ExposeData ()
 
void FactionTick ()
 
void GenerateNewLeader ()
 
ByteGrid GetAvoidGridBasic (Map map)
 
ByteGrid GetAvoidGridSmart (Map map)
 
string GetCallLabel ()
 
string GetInfoText ()
 
string GetUniqueLoadID ()
 
float GoodwillWith (Faction other)
 
bool HasPredatorRecentlyAttackedAnyone (Pawn predator)
 
void Notify_LeaderDied ()
 
void Notify_LeaderLost ()
 
void Notify_MapRemoved (Map map)
 
void Notify_MemberCaptured (Pawn member, Faction violator)
 
void Notify_MemberTookDamage (Pawn member, DamageInfo dinfo)
 
FactionRelation RelationWith (Faction other, bool allowNull=false)
 
void RemoveAllRelations ()
 
void SetHostileTo (Faction other, bool hostile)
 
override string ToString ()
 
void TryMakeInitialRelationsWith (Faction other)
 
void TryOpenComms (Pawn negotiator)
 

Public Attributes

const float GoodwillScale = 100f
 
FactionDef def
 
int loadID = -1
 
int randomKey
 
float colorFromSpectrum
 
Pawn leader
 
KidnappedPawnsTracker kidnapped
 
Dictionary< Map, ByteGridavoidGridsBasic = new Dictionary<Map, ByteGrid>()
 
Dictionary< Map, ByteGridavoidGridsSmart = new Dictionary<Map, ByteGrid>()
 
bool defeated
 
int lastTraderRequestTick = -9999999
 

Properties

UnityEngine.Color Color [get]
 
bool HasName [get]
 
bool IsPlayer [get]
 
string Name [get, set]
 
static Faction OfInsects [get]
 
static Faction OfMechanoids [get]
 
static Faction OfPlayer [get]
 
static Faction OfPlayerSilentFail [get]
 
float PlayerGoodwill [get]
 
FactionTacticalMemory TacticalMemory [get]
 

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