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

Public Types

enum  Result { CriticalPass , Pass , Fail , CriticalFail }
 
enum  Output { None , Default }
 

Public Member Functions

string GetText (Chara p, Card tg, bool inDialog=false)
 
int GetDC (Card tg=null)
 
int GetFinalDC (Chara p, Card tg=null)
 
Check.Result Perform (Chara p, Card tg=null)
 
Check.Result Perform (Chara p, Card tg, Action< Check.Result > action)
 

Static Public Member Functions

static Check Get (string id, float dcMod=1f)
 
- 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

SourceCheck.Row _source
 
string id
 
float dcMod
 

Properties

SourceCheck.Row source [get]
 
string mainElementName [get]
 
int baseDC [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]
 

Additional Inherited Members

- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 5 of file Check.cs.

Member Enumeration Documentation

◆ Output

enum Check.Output

Definition at line 224 of file Check.cs.

◆ Result

enum Check.Result

Definition at line 211 of file Check.cs.

Member Function Documentation

◆ Get()

static Check Check.Get ( string id,
float dcMod = 1f )
static

Definition at line 8 of file Check.cs.

◆ GetDC()

int Check.GetDC ( Card tg = null)

Definition at line 82 of file Check.cs.

◆ GetFinalDC()

int Check.GetFinalDC ( Chara p,
Card tg = null )

Definition at line 110 of file Check.cs.

◆ GetText()

string Check.GetText ( Chara p,
Card tg,
bool inDialog = false )

Definition at line 53 of file Check.cs.

◆ Perform() [1/2]

Check.Result Check.Perform ( Chara p,
Card tg,
Action< Check.Result > action )

Definition at line 191 of file Check.cs.

◆ Perform() [2/2]

Check.Result Check.Perform ( Chara p,
Card tg = null )

Definition at line 141 of file Check.cs.

Member Data Documentation

◆ _source

SourceCheck.Row Check._source

Definition at line 202 of file Check.cs.

◆ dcMod

float Check.dcMod

Definition at line 208 of file Check.cs.

◆ id

string Check.id

Definition at line 205 of file Check.cs.

Property Documentation

◆ baseDC

int Check.baseDC
get

Definition at line 44 of file Check.cs.

◆ mainElementName

string Check.mainElementName
get

Definition at line 34 of file Check.cs.

◆ source

SourceCheck.Row Check.source
get

Definition at line 19 of file Check.cs.


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