Elin Modding Docs Doc
|
Classes | |
class | Statistics |
Public Member Functions | |
int | GetNextExp (int _lv=-1) |
int | Evalue (int ele) |
int | GetProductBonus (Chara c) |
void | RefreshEfficiency () |
void | Abandon () |
void | OnCreate (Zone zone) |
void | SetOwner (Zone zone) |
void | OnActivateZone () |
void | OnAfterSimulate () |
void | OnUnloadMap () |
void | OnSimulateHour (VirtualDate date) |
void | AutoClean () |
void | OnSimulateDay (VirtualDate date) |
void | OnAdvanceDay () |
void | OnSimulateMonth (VirtualDate date) |
void | GenerateGarbage (VirtualDate date) |
bool | TryTrash (Thing t) |
void | ReceivePackages (VirtualDate date) |
void | DailyOutcome (VirtualDate date) |
void | PutInMailBox (Thing t, bool outside=false, bool install=true) |
Thing | GetMailBox () |
Point | GetMailBoxPos () |
int | GetResidentTax () |
void | CalcInnIncome () |
void | CalcTourismIncome () |
void | GetDailyIncome () |
Thing | GetMeal (Chara c) |
void | OnClaimZone () |
void | OnUnclaimZone () |
void | ValidateUpgradePolicies () |
void | Upgrade () |
bool | CanUpgrade () |
int | GetUpgradeCost () |
void | ModExp (int a) |
string | GetHearthHint (int a) |
void | AddFeat (int ele, int v) |
void | AddMemeber (Chara c) |
void | ChangeMemberType (Chara c, FactionMemberType type) |
void | BanishMember (Chara c, bool sell=false) |
void | RemoveMemeber (Chara c) |
int | GetHappiness (FactionMemberType type) |
bool | IsAllDead () |
void | Recruit (Chara c) |
Chara | GetMaid () |
string | GetRandomName () |
int | CountMembers (FactionMemberType type, bool onlyAlive=false) |
int | CountGuests () |
int | CountWealthyGuests () |
void | UpdateReqruits (bool clear=false) |
void | AddRecruit (Chara c) |
void | RemoveRecruit (Chara c) |
int | CountNewRecruits () |
void | ClearNewRecruits () |
bool | IsRecruit (Chara c) |
int | CountPasture () |
int | GetPastureCost () |
int | GetCivility () |
float | GetHearthIncome () |
float | GetHearthIncome (string id) |
int | GetTechUpgradeCost (Element e) |
string | Log (string idLang, string ref1=null, string ref2=null, string ref3=null, string ref4=null) |
string | Log (string idLang, Card c1, Card c2, string ref1=null, string ref2=null) |
string | Log (string idLang, Card c1, string ref1=null, string ref2=null, string ref3=null) |
string | LogRaw (string text, string col=null) |
Public Attributes | |
int | lv = 1 |
int | rank |
int | exp |
int | seedPlan |
int | temper |
int | uidMaid |
int | lastUpdateReqruit |
int | incomeShop |
GStability | stability |
HomeResourceManager | resources = new HomeResourceManager() |
ResearchManager | researches = new ResearchManager() |
PolicyManager | policies = new PolicyManager() |
HappinessManager | happiness = new HappinessManager() |
MeetingManager | meetings = new MeetingManager() |
Thing | stash |
MsgLog | log |
Religion | faith |
ExpeditionManager | expeditions = new ExpeditionManager() |
List< HireInfo > | listRecruit = new List<HireInfo>() |
int | dateFound |
int | tourism |
FactionBranch.Statistics | statistics = new FactionBranch.Statistics() |
FactionBranch.Statistics | lastStatistics = new FactionBranch.Statistics() |
Zone | owner |
int | incomeInn |
int | incomeTourism |
int | efficiency = 100 |
List< Chara > | members = new List<Chara>() |
Properties | |
int | Money [get] |
int | Worth [get] |
int | NumHeirloom [get] |
int | MaxAP [get] |
int | MaxPopulation [get] |
int | MaxSoil [get] |
int | ContentLV [get] |
int | DangerLV [get] |
bool | HasNetwork [get] |
bool | IsTaxFree [get] |
string | RankText [get] |
string | TextLv [get] |
bool | IsStartBranch [get] |
ElementContainerZone | elements [get] |
int | MaxLv [get] |
![]() | |
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 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) |
![]() | |
static Core | core |
Definition at line 9 of file FactionBranch.cs.
void FactionBranch.Abandon | ( | ) |
Definition at line 199 of file FactionBranch.cs.
void FactionBranch.AddFeat | ( | int | ele, |
int | v ) |
Definition at line 1143 of file FactionBranch.cs.
void FactionBranch.AddMemeber | ( | Chara | c | ) |
Definition at line 1150 of file FactionBranch.cs.
void FactionBranch.AddRecruit | ( | Chara | c | ) |
Definition at line 1426 of file FactionBranch.cs.
void FactionBranch.AutoClean | ( | ) |
Definition at line 445 of file FactionBranch.cs.
void FactionBranch.BanishMember | ( | Chara | c, |
bool | sell = false ) |
Definition at line 1192 of file FactionBranch.cs.
void FactionBranch.CalcInnIncome | ( | ) |
Definition at line 818 of file FactionBranch.cs.
void FactionBranch.CalcTourismIncome | ( | ) |
Definition at line 860 of file FactionBranch.cs.
bool FactionBranch.CanUpgrade | ( | ) |
Definition at line 1088 of file FactionBranch.cs.
void FactionBranch.ChangeMemberType | ( | Chara | c, |
FactionMemberType | type ) |
Definition at line 1183 of file FactionBranch.cs.
void FactionBranch.ClearNewRecruits | ( | ) |
Definition at line 1467 of file FactionBranch.cs.
int FactionBranch.CountGuests | ( | ) |
Definition at line 1335 of file FactionBranch.cs.
int FactionBranch.CountMembers | ( | FactionMemberType | type, |
bool | onlyAlive = false ) |
Definition at line 1321 of file FactionBranch.cs.
int FactionBranch.CountNewRecruits | ( | ) |
Definition at line 1450 of file FactionBranch.cs.
int FactionBranch.CountPasture | ( | ) |
Definition at line 1492 of file FactionBranch.cs.
int FactionBranch.CountWealthyGuests | ( | ) |
Definition at line 1352 of file FactionBranch.cs.
void FactionBranch.DailyOutcome | ( | VirtualDate | date | ) |
Definition at line 618 of file FactionBranch.cs.
int FactionBranch.Evalue | ( | int | ele | ) |
Definition at line 22 of file FactionBranch.cs.
void FactionBranch.GenerateGarbage | ( | VirtualDate | date | ) |
Definition at line 526 of file FactionBranch.cs.
int FactionBranch.GetCivility | ( | ) |
Definition at line 1504 of file FactionBranch.cs.
void FactionBranch.GetDailyIncome | ( | ) |
Definition at line 877 of file FactionBranch.cs.
int FactionBranch.GetHappiness | ( | FactionMemberType | type | ) |
Definition at line 1251 of file FactionBranch.cs.
string FactionBranch.GetHearthHint | ( | int | a | ) |
Definition at line 1124 of file FactionBranch.cs.
float FactionBranch.GetHearthIncome | ( | ) |
Definition at line 1519 of file FactionBranch.cs.
float FactionBranch.GetHearthIncome | ( | string | id | ) |
Definition at line 1533 of file FactionBranch.cs.
Chara FactionBranch.GetMaid | ( | ) |
Definition at line 1298 of file FactionBranch.cs.
Thing FactionBranch.GetMailBox | ( | ) |
Definition at line 751 of file FactionBranch.cs.
Point FactionBranch.GetMailBoxPos | ( | ) |
Definition at line 757 of file FactionBranch.cs.
Definition at line 885 of file FactionBranch.cs.
int FactionBranch.GetNextExp | ( | int | _lv = -1 | ) |
Definition at line 12 of file FactionBranch.cs.
int FactionBranch.GetPastureCost | ( | ) |
Definition at line 1498 of file FactionBranch.cs.
int FactionBranch.GetProductBonus | ( | Chara | c | ) |
Definition at line 137 of file FactionBranch.cs.
string FactionBranch.GetRandomName | ( | ) |
Definition at line 1311 of file FactionBranch.cs.
int FactionBranch.GetResidentTax | ( | ) |
Definition at line 772 of file FactionBranch.cs.
int FactionBranch.GetTechUpgradeCost | ( | Element | e | ) |
Definition at line 1547 of file FactionBranch.cs.
int FactionBranch.GetUpgradeCost | ( | ) |
Definition at line 1094 of file FactionBranch.cs.
bool FactionBranch.IsAllDead | ( | ) |
Definition at line 1266 of file FactionBranch.cs.
bool FactionBranch.IsRecruit | ( | Chara | c | ) |
Definition at line 1476 of file FactionBranch.cs.
string FactionBranch.Log | ( | string | idLang, |
Card | c1, | ||
Card | c2, | ||
string | ref1 = null, | ||
string | ref2 = null ) |
Definition at line 1566 of file FactionBranch.cs.
string FactionBranch.Log | ( | string | idLang, |
Card | c1, | ||
string | ref1 = null, | ||
string | ref2 = null, | ||
string | ref3 = null ) |
Definition at line 1573 of file FactionBranch.cs.
string FactionBranch.Log | ( | string | idLang, |
string | ref1 = null, | ||
string | ref2 = null, | ||
string | ref3 = null, | ||
string | ref4 = null ) |
Definition at line 1559 of file FactionBranch.cs.
string FactionBranch.LogRaw | ( | string | text, |
string | col = null ) |
Definition at line 1580 of file FactionBranch.cs.
void FactionBranch.ModExp | ( | int | a | ) |
Definition at line 1100 of file FactionBranch.cs.
void FactionBranch.OnActivateZone | ( | ) |
Definition at line 243 of file FactionBranch.cs.
void FactionBranch.OnAdvanceDay | ( | ) |
Definition at line 498 of file FactionBranch.cs.
void FactionBranch.OnAfterSimulate | ( | ) |
Definition at line 259 of file FactionBranch.cs.
void FactionBranch.OnClaimZone | ( | ) |
Definition at line 896 of file FactionBranch.cs.
void FactionBranch.OnCreate | ( | Zone | zone | ) |
Definition at line 204 of file FactionBranch.cs.
void FactionBranch.OnSimulateDay | ( | VirtualDate | date | ) |
Definition at line 470 of file FactionBranch.cs.
void FactionBranch.OnSimulateHour | ( | VirtualDate | date | ) |
Definition at line 273 of file FactionBranch.cs.
void FactionBranch.OnSimulateMonth | ( | VirtualDate | date | ) |
Definition at line 519 of file FactionBranch.cs.
void FactionBranch.OnUnclaimZone | ( | ) |
Definition at line 962 of file FactionBranch.cs.
void FactionBranch.OnUnloadMap | ( | ) |
Definition at line 268 of file FactionBranch.cs.
void FactionBranch.PutInMailBox | ( | Thing | t, |
bool | outside = false, | ||
bool | install = true ) |
Definition at line 731 of file FactionBranch.cs.
void FactionBranch.ReceivePackages | ( | VirtualDate | date | ) |
Definition at line 586 of file FactionBranch.cs.
void FactionBranch.Recruit | ( | Chara | c | ) |
Definition at line 1282 of file FactionBranch.cs.
void FactionBranch.RefreshEfficiency | ( | ) |
Definition at line 147 of file FactionBranch.cs.
void FactionBranch.RemoveMemeber | ( | Chara | c | ) |
Definition at line 1233 of file FactionBranch.cs.
void FactionBranch.RemoveRecruit | ( | Chara | c | ) |
Definition at line 1438 of file FactionBranch.cs.
void FactionBranch.SetOwner | ( | Zone | zone | ) |
Definition at line 214 of file FactionBranch.cs.
bool FactionBranch.TryTrash | ( | Thing | t | ) |
Definition at line 562 of file FactionBranch.cs.
void FactionBranch.UpdateReqruits | ( | bool | clear = false | ) |
Definition at line 1366 of file FactionBranch.cs.
void FactionBranch.Upgrade | ( | ) |
Definition at line 1001 of file FactionBranch.cs.
void FactionBranch.ValidateUpgradePolicies | ( | ) |
Definition at line 967 of file FactionBranch.cs.
int FactionBranch.dateFound |
Definition at line 1764 of file FactionBranch.cs.
int FactionBranch.efficiency = 100 |
Definition at line 1788 of file FactionBranch.cs.
int FactionBranch.exp |
Definition at line 1690 of file FactionBranch.cs.
ExpeditionManager FactionBranch.expeditions = new ExpeditionManager() |
Definition at line 1756 of file FactionBranch.cs.
Religion FactionBranch.faith |
Definition at line 1752 of file FactionBranch.cs.
HappinessManager FactionBranch.happiness = new HappinessManager() |
Definition at line 1733 of file FactionBranch.cs.
int FactionBranch.incomeInn |
Definition at line 1782 of file FactionBranch.cs.
int FactionBranch.incomeShop |
Definition at line 1710 of file FactionBranch.cs.
int FactionBranch.incomeTourism |
Definition at line 1785 of file FactionBranch.cs.
FactionBranch.Statistics FactionBranch.lastStatistics = new FactionBranch.Statistics() |
Definition at line 1776 of file FactionBranch.cs.
int FactionBranch.lastUpdateReqruit |
Definition at line 1706 of file FactionBranch.cs.
Definition at line 1760 of file FactionBranch.cs.
MsgLog FactionBranch.log |
Definition at line 1745 of file FactionBranch.cs.
int FactionBranch.lv = 1 |
Definition at line 1682 of file FactionBranch.cs.
MeetingManager FactionBranch.meetings = new MeetingManager() |
Definition at line 1737 of file FactionBranch.cs.
Definition at line 1791 of file FactionBranch.cs.
Zone FactionBranch.owner |
Definition at line 1779 of file FactionBranch.cs.
PolicyManager FactionBranch.policies = new PolicyManager() |
Definition at line 1729 of file FactionBranch.cs.
int FactionBranch.rank |
Definition at line 1686 of file FactionBranch.cs.
ResearchManager FactionBranch.researches = new ResearchManager() |
Definition at line 1725 of file FactionBranch.cs.
HomeResourceManager FactionBranch.resources = new HomeResourceManager() |
Definition at line 1721 of file FactionBranch.cs.
int FactionBranch.seedPlan |
Definition at line 1694 of file FactionBranch.cs.
GStability FactionBranch.stability |
Definition at line 1714 of file FactionBranch.cs.
Thing FactionBranch.stash |
Definition at line 1741 of file FactionBranch.cs.
FactionBranch.Statistics FactionBranch.statistics = new FactionBranch.Statistics() |
Definition at line 1772 of file FactionBranch.cs.
int FactionBranch.temper |
Definition at line 1698 of file FactionBranch.cs.
int FactionBranch.tourism |
Definition at line 1768 of file FactionBranch.cs.
int FactionBranch.uidMaid |
Definition at line 1702 of file FactionBranch.cs.
|
get |
Definition at line 98 of file FactionBranch.cs.
|
get |
Definition at line 108 of file FactionBranch.cs.
|
get |
Definition at line 190 of file FactionBranch.cs.
|
get |
Definition at line 118 of file FactionBranch.cs.
|
get |
Definition at line 180 of file FactionBranch.cs.
|
get |
Definition at line 128 of file FactionBranch.cs.
|
get |
Definition at line 68 of file FactionBranch.cs.
|
get |
Definition at line 1079 of file FactionBranch.cs.
|
get |
Definition at line 78 of file FactionBranch.cs.
|
get |
Definition at line 88 of file FactionBranch.cs.
|
get |
Definition at line 38 of file FactionBranch.cs.
|
get |
Definition at line 58 of file FactionBranch.cs.
|
get |
Definition at line 160 of file FactionBranch.cs.
|
get |
Definition at line 170 of file FactionBranch.cs.
|
get |
Definition at line 48 of file FactionBranch.cs.