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

Public Member Functions

 SpawnList (string id=null)
 
void Add (CardRow row)
 
void CreateMaster (CardFilter _filter, string parent=null)
 
SpawnList Filter (int lv, int levelRange=-1)
 
CardRow Select (int lv=-1, int levelRange=-1)
 
CardRow GetRandom ()
 
CardRow GetFirst ()
 

Static Public Member Functions

static SpawnList Get (string id, string parent=null, CardFilter filter=null)
 
- 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

string id
 
List< CardRowrows = new List<CardRow>()
 
CardFilter filter
 
int totalChance
 

Static Public Attributes

static Dictionary< string, SpawnListallList = new Dictionary<string, SpawnList>()
 
static SpawnList tempList = new SpawnList(null)
 
- Static Public Attributes inherited from EClass
static Core core
 

Additional Inherited Members

- 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 SpawnList.cs.

Constructor & Destructor Documentation

◆ SpawnList()

SpawnList.SpawnList ( string id = null)

Definition at line 31 of file SpawnList.cs.

Member Function Documentation

◆ Add()

void SpawnList.Add ( CardRow row)

Definition at line 52 of file SpawnList.cs.

◆ CreateMaster()

void SpawnList.CreateMaster ( CardFilter _filter,
string parent = null )

Definition at line 59 of file SpawnList.cs.

◆ Filter()

SpawnList SpawnList.Filter ( int lv,
int levelRange = -1 )

Definition at line 84 of file SpawnList.cs.

◆ Get()

static SpawnList SpawnList.Get ( string id,
string parent = null,
CardFilter filter = null )
static

Definition at line 10 of file SpawnList.cs.

◆ GetFirst()

CardRow SpawnList.GetFirst ( )

Definition at line 161 of file SpawnList.cs.

◆ GetRandom()

CardRow SpawnList.GetRandom ( )

Definition at line 155 of file SpawnList.cs.

◆ Select()

CardRow SpawnList.Select ( int lv = -1,
int levelRange = -1 )

Definition at line 121 of file SpawnList.cs.

Member Data Documentation

◆ allList

Dictionary<string, SpawnList> SpawnList.allList = new Dictionary<string, SpawnList>()
static

Definition at line 193 of file SpawnList.cs.

◆ filter

CardFilter SpawnList.filter

Definition at line 205 of file SpawnList.cs.

◆ id

string SpawnList.id

Definition at line 199 of file SpawnList.cs.

◆ rows

List<CardRow> SpawnList.rows = new List<CardRow>()

Definition at line 202 of file SpawnList.cs.

◆ tempList

SpawnList SpawnList.tempList = new SpawnList(null)
static

Definition at line 196 of file SpawnList.cs.

◆ totalChance

int SpawnList.totalChance

Definition at line 208 of file SpawnList.cs.


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