Elin Modding Docs Doc
Loading...
Searching...
No Matches
Affinity Class Reference
Inheritance diagram for Affinity:
EClass

Public Member Functions

bool CanInvite ()
 
bool CanMarry ()
 
Thing OnGift (Thing t)
 
void OnTalkRumor ()
 
int Mod (int a)
 

Static Public Member Functions

static Affinity Get (Chara c)
 
- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 

Public Attributes

int value
 
int difficulty
 

Static Public Attributes

static Chara CC
 
- Static Public Attributes inherited from EClass
static Core core
 

Properties

static List< Affinitylist [get]
 
string Name [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Detailed Description

Definition at line 7 of file Affinity.cs.

Member Function Documentation

◆ CanInvite()

bool Affinity.CanInvite ( )

Definition at line 44 of file Affinity.cs.

◆ CanMarry()

bool Affinity.CanMarry ( )

Definition at line 50 of file Affinity.cs.

◆ Get()

static Affinity Affinity.Get ( Chara c)
static

Definition at line 30 of file Affinity.cs.

◆ Mod()

int Affinity.Mod ( int a)

Definition at line 104 of file Affinity.cs.

◆ OnGift()

Thing Affinity.OnGift ( Thing t)

Definition at line 56 of file Affinity.cs.

◆ OnTalkRumor()

void Affinity.OnTalkRumor ( )

Definition at line 92 of file Affinity.cs.

Member Data Documentation

◆ CC

Chara Affinity.CC
static

Definition at line 127 of file Affinity.cs.

◆ difficulty

int Affinity.difficulty

Definition at line 133 of file Affinity.cs.

◆ value

int Affinity.value

Definition at line 130 of file Affinity.cs.

Property Documentation

◆ list

List<Affinity> Affinity.list
staticget

Definition at line 11 of file Affinity.cs.

◆ Name

string Affinity.Name
get

Definition at line 21 of file Affinity.cs.


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