Elin Decompiled Documentation EA 23.188 Stable Patch 2
|
Public Member Functions | |
void | Init () |
void | Add (Card t) |
void | Remove (Card t) |
void | OnNumChange (Card c, int a) |
bool | ShouldListAsResource (Thing t) |
Thing | GetAvailableThing (string id, int idMat) |
ThingStack | ListThingStack (Recipe.Ingredient ing, StockSearchMode searchMode) |
List< Thing > | ListThingsInCategory (SourceCategory.Row cat) |
Dictionary< string, ThingStack > | ListThingStacksInCategory (SourceCategory.Row cat) |
Thing | Find< T > () |
Thing | FindEmptyContainer< T > () |
Thing | FindEmptyContainer< T > (Thing target) |
Thing | Find (int uid) |
Thing | FindShared (string id) |
Thing | Find (string id, string idMat) |
Thing | Find (string id, int idMat=-1, int refVal=-1, bool shared=false) |
int | GetNum (string id, bool onlyShared=false) |
void | Validate () |
Static Public Member Functions | |
static int | GetNumStockedAndRoaming (string id) |
![]() | |
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 | 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 | |
PropSet | all = new PropSet() |
Dictionary< string, PropSet > | cardMap = new Dictionary<string, PropSet>() |
Dictionary< string, PropSetCategory > | categoryMap = new Dictionary<string, PropSetCategory>() |
Dictionary< string, PropSet > | raceMap = new Dictionary<string, PropSet>() |
Dictionary< string, PropSet > | workMap = new Dictionary<string, PropSet>() |
TraitManager | traits = new TraitManager() |
List< Thing > | things = new List<Thing>() |
List< Thing > | containers = new List<Thing>() |
int | maxWeight = 100 |
int | weight |
Properties | |
virtual bool | IsStocked [get] |
virtual bool | IsRoaming [get] |
virtual bool | IsInstalled [get] |
virtual PlaceState | state [get] |
List< Thing > | Things [get] |
int | Count [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] |
Private Member Functions | |
void | ListThingStacksInCategory (SourceCategory.Row cat, Dictionary< string, ThingStack > stacks, Thing t) |
Additional Inherited Members | |
![]() | |
static Core | core |
|
inline |
Definition at line 63 of file Props.cs.
References EClass._map, ActPlan.List.Add(), PropSet.Add(), Add(), all, cardMap, categoryMap, Card.Chara, containers, Debug, PropsManager.deconstructing, Card.id, Card.isChara, TraitManager.OnAddCard(), Card.parent, Card.props, Map.props, Chara.race, raceMap, Remove(), state, Map.Stocked, Card.things, things, traits, weight, and workMap.
Referenced by Add(), Card.AddThing(), PropsManager.OnCardAddedToZone(), and PropsManager.OnSetPlaceState().
|
inline |
Definition at line 389 of file Props.cs.
References Things, and Card.uid.
Referenced by TaskBuild._CanPerformTask(), DropdownGrid.BuildIngredients(), QuestCrafter.CanUpdateOnTalk(), FactionBranch.DailyOutcome(), Find(), FindShared(), FactionBranch.GetMailBoxPos(), Zone.GetSpawnPos(), ListThingStack(), Zone_Nymelle.OnBeforeSimulate(), Recipe.Ingredient.RefreshThing(), AI_Idle.Run(), and MeetingManager.SetRoom().
|
inline |
Definition at line 411 of file Props.cs.
|
inline |
Definition at line 406 of file Props.cs.
References Find(), SourceManager.materials, and EClass.sources.
|
inline |
T | : | Trait |
Definition at line 353 of file Props.cs.
References Things, and Card.trait.
|
inline |
T | : | Trait |
Definition at line 365 of file Props.cs.
References ThingContainer.IsFull(), Card.things, Things, and Card.trait.
T | : | Trait |
Definition at line 377 of file Props.cs.
References ThingContainer.IsFull(), Card.things, Things, and Card.trait.
|
inline |
|
inline |
|
inline |
Definition at line 427 of file Props.cs.
Referenced by FactionBranch.CountPasture(), and GetNumStockedAndRoaming().
|
inlinestatic |
Definition at line 440 of file Props.cs.
References EClass._map, cardMap, GetNum(), Map.Roaming, and Map.Stocked.
|
inline |
Definition at line 41 of file Props.cs.
References SourceManager.categories, categoryMap, PropSetCategory.source, and EClass.sources.
Referenced by PropsManager.Init().
|
inline |
Definition at line 315 of file Props.cs.
References Card.category, and Things.
Referenced by LayerResource.ShowThings().
|
inline |
Definition at line 204 of file Props.cs.
References EClass._zone, ThingStack.Add(), all, Card.c_lockLv, cardMap, SourceManager.cards, SourceManager.categories, Card.category, Point.cell, EClass.debug, CoreDebug.enable, Find(), ThingContainer.Foreach(), Card.HasElement(), Card.id, SourceCategory.Row.id, Thing.isEquipped, Card.IsExcludeFromCraft(), Zone.IsPCFaction, item, ThingStack.list, SourceCard.map, Card.material, Card.parent, EClass.pc, Card.pos, Cell.room, Thing.source, EClass.sources, Card.Thing, Card.things, things, and Card.trait.
Referenced by QuestTrackCraft.GetDetail(), Recipe.IsCraftable(), DropdownGrid.ListIngredients(), UIRecipeInfo.RefreshList(), DropdownGrid.TrySelect(), and ButtonGrid.WriteReqMat().
|
inline |
Definition at line 328 of file Props.cs.
References ListThingStacksInCategory(), and Things.
Referenced by ListThingStacksInCategory().
|
inlineprivate |
Definition at line 338 of file Props.cs.
References ActPlan.List.Add(), SourceManager.categories, Card.id, ThingStack.list, Card.Num, Thing.source, and EClass.sources.
|
inline |
Definition at line 160 of file Props.cs.
References cardMap, Card.category, categoryMap, Card.id, Card.isChara, Thing.source, Card.Thing, weight, and workMap.
Referenced by Card.ModNum().
|
inline |
Definition at line 115 of file Props.cs.
References EClass._map, all, cardMap, categoryMap, Card.Chara, containers, Debug, PropsManager.deconstructing, Card.isChara, TraitManager.OnRemoveCard(), Card.props, Map.props, Chara.race, raceMap, PropSet.Remove(), Remove(), Card.things, things, traits, weight, and workMap.
Referenced by Add(), PropsManager.OnSetPlaceState(), Remove(), Card.RemoveThing(), and Card.SetPlaceState().
|
inline |
Definition at line 174 of file Props.cs.
References Card.c_isImportant, card, and Card.parent.
Referenced by BuildMenu._Search(), UIDragGridIngredients.Refresh(), and BuildMenu.RefreshCategory().
|
inline |
Definition at line 8 of file Props.cs.
Referenced by Add(), Chara.FindBed(), ListThingStack(), PropsManager.OnSetPlaceState(), LayerHome.RefreshSpots(), Remove(), WidgetSearch.Search(), Chara.TryAssignBed(), and CoreDebug.UpdateInput().
Definition at line 10 of file Props.cs.
Referenced by WidgetStockTracker._Refresh(), Add(), Find(), GetAvailableThing(), GetNum(), GetNumStockedAndRoaming(), ListThingStack(), OnNumChange(), UIRecipeInfo.Refresh(), Remove(), ButtonResourceTrack.SetProp(), HitSummary.SetRecipe(), and Validate().
Dictionary<string, PropSetCategory> Props.categoryMap = new Dictionary<string, PropSetCategory>() |
Definition at line 12 of file Props.cs.
Referenced by WidgetStockTracker._Refresh(), Add(), Init(), OnNumChange(), LayerResource.RefreshCategory(), Remove(), and ButtonResourceTrack.SetCat().
Definition at line 22 of file Props.cs.
Referenced by Add(), Remove(), Zone.TryAddThingInSharedContainer(), Zone.TryGetThingFromSharedContainer(), Chara.TryPutSharedItems(), and Chara.TryTakeSharedItems().
int Props.maxWeight = 100 |
Definition at line 25 of file Props.cs.
Referenced by LayerResource.OnInit().
Definition at line 14 of file Props.cs.
Referenced by Add(), GameUpdater.SurfaceUpdater.FixedUpdate(), and Remove().
Definition at line 20 of file Props.cs.
Referenced by Add(), Map.FindThing(), QuestDeliver.ListDestThing(), ListThingStack(), Remove(), and TraitSpotBiome.Update().
TraitManager Props.traits = new TraitManager() |
Definition at line 18 of file Props.cs.
Referenced by Add(), Zone.AddRandomVisitor(), VirtualDate.BuildSunMap(), AIAct.DoGoto< T >(), AIAct.DoGotoSpot< T >(), AI_Pray.GetAltar(), Zone.GetRandomSpot< T >(), Zone.GetSpawnPos(), AI_Grab< T >.GetTarget(), Chara.IsInSpot< T >(), Map.PutAway(), DramaOutcome.PutOutFire(), FactionBranch.Recruit(), Map.RefreshSunMap(), Remove(), AI_Bladder.Run(), AI_Cook.Run(), AI_GotoHearth.Run(), AI_Idle.Run(), AI_LeaveMap.Run(), AI_Offer.Run(), GoalSpot.Run(), and Zone.TryAddThingInSpot< T >().
int Props.weight |
Definition at line 27 of file Props.cs.
Referenced by Add(), LayerResource.OnInit(), OnNumChange(), and Remove().
Definition at line 16 of file Props.cs.
Referenced by Add(), Map.FindThing(), OnNumChange(), and Remove().
|
get |
|
get |
Definition at line 37 of file Props.cs.
Referenced by BuildMenu._Search(), Zone.Deactivate(), Find(), Find< T >(), FindEmptyContainer< T >(), ListThingsInCategory(), ListThingStacksInCategory(), UIDragGridIngredients.Refresh(), and BuildMenu.RefreshCategory().