|
Elin Decompiled Documentation EA 23.246 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 Public Member Functions inherited from EClass | |
| static int | rndSeed (int a, int seed) |
| static int | rnd (long a) |
| static int | rnd (int a) |
| static int | curve (int _a, int start, int step, int rate=75) |
| static int | sqrt (int a) |
| 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 Public Attributes inherited from EClass | |
| static Core | core |
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] |
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(), CharaRenderer.DrawHat(), Thing.GetName(), ZoneEventHarvest.OnLeaveZone(), Chara.RequestProtection(), InvOwnerDeliver.ShouldShowGuide(), ActThrow.Throw(), and ConSleep.Tick().
|
inline |
Definition at line 25 of file BaseCard.cs.
References mapInt.
Referenced by LayerEditPortrait.Activate(), Element.AddEncNote(), AddInt(), LayerSleep.Advance(), WidgetRoster.Build(), DramaCustomSequence.Build(), ZonePreEnterBoutWin.Execute(), GetBool(), TraitScrollMapTreasure.GetDest(), Thing.GetName(), CraftUtil.MakeBloodMeal(), CraftUtil.MixIngredients(), Trait.OnBarter(), BaseListPeople.OnClick(), TraitScrollMap.OnRead(), WidgetRoster.OnSetContextMenu(), InvOwnerDeliver.PayBill(), FoodEffect.Proc(), ActEffect.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(), TraitSwitch.TryDisarmTrap(), and GoalCombat.TryUseAbility().
|
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(), TraitTeleporter.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(), DramaOutcome.chara_hired_ticket(), and ActThrow.Throw().
|
inline |
Definition at line 39 of file BaseCard.cs.
References mapInt.
Referenced by Chara._MakeAlly(), LayerEditPortrait.Activate(), AddInt(), Faction.AddReserve(), LayerSleep.Advance(), LayerEditPCC.Apply(), 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(), WidgetRoster.OnSetContextMenu(), FoodEffect.Proc(), ActEffect.Proc(), ActEffect.ProcAt(), 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(), Player.CreateEquip(), ThingGen.CreateLetter(), ThingGen.CreateRecipe(), ThingGen.CreateRedBook(), 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().