Riwmorld
RimWorld.Pawn_RelationsTracker Class Reference
Inheritance diagram for RimWorld.Pawn_RelationsTracker:
Verse.IExposable

Public Member Functions

 Pawn_RelationsTracker (Pawn pawn)
 
void AddDirectRelation (PawnRelationDef def, Pawn otherPawn)
 
void ClearAllRelations ()
 
float CompatibilityWith (Pawn otherPawn)
 
float ConstantPerPawnsPairCompatibilityOffset (int otherPawnID)
 
bool DirectRelationExists (PawnRelationDef def, Pawn otherPawn)
 
void ExposeData ()
 
DirectPawnRelation GetDirectRelation (PawnRelationDef def, Pawn otherPawn)
 
Pawn GetFirstDirectRelationPawn (PawnRelationDef def, Predicate< Pawn > predicate=null)
 
float GetFriendDiedThoughtPowerFactor (int opinion)
 
float GetRivalDiedThoughtPowerFactor (int opinion)
 
void Notify_PawnKidnapped ()
 
void Notify_PawnSold (Pawn playerNegotiator)
 
void Notify_RescuedBy (Pawn rescuer)
 
string OpinionExplanation (Pawn other)
 
int OpinionOf (Pawn other)
 
void RemoveDirectRelation (DirectPawnRelation relation)
 
void RemoveDirectRelation (PawnRelationDef def, Pawn otherPawn)
 
float SecondaryRomanceChanceFactor (Pawn otherPawn)
 
void SocialTrackerTick ()
 
bool TryRemoveDirectRelation (PawnRelationDef def, Pawn otherPawn)
 

Public Attributes

const int FriendOpinionThreshold = 20
 
const int RivalOpinionThreshold = -20
 
bool everSeenByPlayer
 
bool canGetRescuedThought = true
 

Properties

IEnumerable< PawnChildren [get]
 
int ChildrenCount [get]
 
List< DirectPawnRelationDirectRelations [get]
 
IEnumerable< PawnFamilyByBlood [get]
 
IEnumerable< PawnPotentiallyRelatedPawns [get]
 
IEnumerable< PawnRelatedPawns [get]
 
bool RelatedToAnyoneOrAnyoneRelatedToMe [get]
 

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