Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
bool | GetBool (int id) |
void | SetBool (int id, bool enable) |
int | GetInt (int id, int? defaultInt=null) |
void | AddInt (int id, int value) |
void | SetInt (int id, int value=0) |
string | GetStr (int id, string defaultStr=null) |
void | SetStr (int id, string value=null) |
T | GetObj< T > (int id) |
void | SetObj (int id, object o) |
T | SetObj< T > (int id, object o) |
Public Attributes | |
Dictionary< int, object > | mapObj = new Dictionary<int, object>() |
Dictionary< int, int > | mapInt = new Dictionary<int, int>() |
Dictionary< int, string > | mapStr = new Dictionary<int, string>() |
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 |
![]() | |
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] |
Definition at line 4 of file BaseCard.cs.
|
inline |
Definition at line 34 of file BaseCard.cs.
|
inline |
Definition at line 15 of file BaseCard.cs.
References GetInt().
Referenced by TraitAltar._OnOffer(), ZoneEventHarvest.OnLeaveZone(), and ConSleep.Tick().
|
inline |
Definition at line 25 of file BaseCard.cs.
References mapInt.
Referenced by LayerEditPortrait.Activate(), AddInt(), ElementContainer.AddNote(), DramaCustomSequence.Build(), Card.DamageHP(), ZonePreEnterBoutWin.Execute(), GetBool(), TraitScrollMapTreasure.GetDest(), Thing.GetName(), Trait.OnBarter(), BaseListPeople.OnClick(), TraitScrollMap.OnRead(), InvOwnerDeliver.PayBill(), FoodEffect.Proc(), TCOrbitChara.RefreshAll(), LayerQuestBoard.RefreshRanking(), DramaOutcome.revive_pet(), AI_Idle.Run(), AI_Steal.Run(), Portrait.SetChara(), AIWork.SetDestination(), TraitScrollMap.SetName(), GameDate.ShipPackages(), Card.SpawnLoot(), DramaActor.Talk(), and TraitSwitch.TryDisarmTrap().
|
inline |
Definition at line 78 of file BaseCard.cs.
References mapObj.
|
inline |
Definition at line 54 of file BaseCard.cs.
References mapStr.
Referenced by SerializedCards.Add(), TraitBlueprint.CanStackTo(), TraitBook.CanStackTo(), TraitRecipe.CanStackTo(), TraitNewZone.CreateZone(), Thing.GetName(), WindowChara.RefreshStatic(), WindowChara.SetPortraitBG(), WindowChara.SetPortraitFrame(), and AI_Shopping.TryRestock().
|
inline |
Definition at line 20 of file BaseCard.cs.
References SetInt().
Referenced by Party.AddMemeber(), DramaOutcome.chara_hired(), and DramaOutcome.chara_hired_ticket().
|
inline |
Definition at line 39 of file BaseCard.cs.
References mapInt.
Referenced by Chara._MakeAlly(), LayerEditPortrait.Activate(), AddInt(), Faction.AddReserve(), LayerEditPCC.Apply(), Card.DamageHP(), ZonePreEnterBoutWin.Execute(), DramaOutcome.fiama_pet(), TraitScrollMapTreasure.GetDest(), Faction.OnAdvanceMonth(), Trait.OnBarter(), TraitWell.OnBlend(), BaseListPeople.OnClick(), QuestIntroInspector.OnComplete(), QuestVernis.OnComplete(), Player.OnCreateGame(), ShopTransaction.OnEndTransaction(), Chara.OnSerializing(), FoodEffect.Proc(), ActEffect.Proc(), InvOwner.Transaction.Process(), AI_Idle.Run(), AI_Steal.Run(), SetBool(), GameDate.ShipPackages(), Card.SpawnLoot(), and TraitSwitch.TryDisarmTrap().
|
inline |
Definition at line 91 of file BaseCard.cs.
References mapObj.
Referenced by ListPeopleBuySlave.OnCreate(), and SerializedCards.Restore().
|
inline |
Definition at line 110 of file BaseCard.cs.
|
inline |
Definition at line 63 of file BaseCard.cs.
References mapStr.
Referenced by GameDate.AdvanceDay(), AI_Shopping.Buy(), ThingGen.CreateLetter(), ThingGen.CreateRecipe(), Chara.MutateRandom(), TraitBook.OnCreate(), TraitRecipe.OnCreate(), TraitBook.OnImportMap(), TraitRadio.OnUse(), SerializedCards.Restore(), WindowChara.SetPortraitBG(), WindowChara.SetPortraitFrame(), and GameDate.ShipLetter().
Dictionary<int, int> BaseCard.mapInt = new Dictionary<int, int>() |
Definition at line 10 of file BaseCard.cs.
Referenced by Card.Duplicate(), GetInt(), and SetInt().
Dictionary<int, object> BaseCard.mapObj = new Dictionary<int, object>() |
Definition at line 7 of file BaseCard.cs.
Referenced by SerializedCards.Add(), GetObj< T >(), SerializedCards.Restore(), SetObj(), and SetObj< T >().
Dictionary<int, string> BaseCard.mapStr = new Dictionary<int, string>() |
Definition at line 13 of file BaseCard.cs.
Referenced by Card.Duplicate(), GetStr(), SetObj< T >(), and SetStr().