|
Elin Decompiled Documentation EA 23.356.1 Nightly
|
Public Types | |
| enum | Type { Inferior = 0 , Default = 3 , Superior = 5 , Superimani = 6 , Brain = 8 } |
Public Member Functions | |
| void | Apply (Chara c) |
| void | Apply (Chara c, bool reverse) |
| bool | CanRemove (Chara c) |
| void | GenerateWithGene (Type _type, Card gene, Chara model=null) |
| void | Generate (Type _type, Chara model=null) |
| void | CalcCost () |
| void | CalcSlot () |
| string | GetMaterialId (Type type) |
| int | GetDurationHour () |
| Type | GetRandomType () |
| string | GetText () |
| void | WriteNote (UINote n, Thing owner=null, Chara tg=null) |
| void | WriteNoteExtra (UINote n, Thing owner, Chara tg) |
| Element | GetInvalidFeat (Chara c) |
| Element | GetInvalidAction (Chara c) |
| int | GetBodySlot () |
| Element | GetElement (int id) |
| void | ReplaceBodySlot (int slot) |
| void | MakeSlimeFood (Chara c) |
| DNA | Relicize () |
Static Public Member Functions | |
| static Thing | GenerateGene (Chara c, Type? type=null) |
| static Thing | GenerateGene (CardRow r, Type? type=null, int lv=-1, int seed=-1) |
| static Thing | CopyDNA (Thing from, Thing to) |
| static Thing | GenerateRandomGene (int lv=-1, int seed=-1) |
| static void | GenerateManiGene (Card owner) |
| static Type | GetType (string idMat) |
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 (long _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) |
Public Attributes | |
| string | id |
| int[] | ints = new int[6] |
| List< int > | vals = new List<int>() |
| BitArray32 | bits |
Properties | |
| Type | type [get, set] |
| int | cost [get, set] |
| int | lv [get, set] |
| int | seed [get, set] |
| int | slot [get, set] |
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] |
Private Member Functions | |
| void | _OnSerializing (StreamingContext context) |
| void | _OnDeserialized (StreamingContext context) |
Additional Inherited Members | |
Static Public Attributes inherited from EClass | |
| static Core | core |
| enum DNA.Type |
|
inlineprivate |
|
inlineprivate |
|
inline |
Definition at line 169 of file DNA.cs.
References Apply(), Card.c_genes, cost, CharaGenes.inferior, CharaGenes.items, and type.
Referenced by Apply(), CharaBody.Equip(), FoodEffect.Proc(), CharaBody.Unequip(), and DramaOutcome.upgrade_miscreation().
|
inline |
Definition at line 186 of file DNA.cs.
References Chara.ability, CharaAbility.Add(), CharaBody.AddBodyPart(), Chara.body, SourceElement.Row.category, Card.elements, SourceManager.elements, Card.GetInt(), SourceElement.Row.id, WidgetEquip.Instance, Chara.IsPC, ElementContainer.Learn(), ElementContainer.ModBase(), WidgetEquip.Rebuild(), Chara.Refresh(), CharaBody.RefreshBodyParts(), Chara.RefreshFaithElement(), CharaAbility.Remove(), Chara.RemoveAllStances(), CharaBody.RemoveBodyPart(), Chara.SetFeat(), Card.SetInt(), EClass.sources, type, vals, and ElementContainer.ValueWithoutLink().
|
inline |
|
inline |
Definition at line 559 of file DNA.cs.
References Element.Create(), Element.HasTag(), and Element.source.
|
inline |
Definition at line 265 of file DNA.cs.
References SourceManager.elements, Chara.IsPC, EClass.sources, and vals.
Referenced by WindowCharaMini.Refresh().
Definition at line 132 of file DNA.cs.
References Card.c_DNA, Card.c_idRefCard, Card.ChangeMaterial(), and Card.material.
Referenced by Card.TryMakeRandomItem().
Definition at line 293 of file DNA.cs.
References SourceElement.Row.category, cost, SourceElement.Row.cost, CharaGen.Create(), EClass.debug, SourceManager.elements, CoreDebug.enable, SourceElement.Row.id, if(), lv, EClass.rnd(), seed, Card.SetLv(), Rand.SetSeed(), slot, EClass.sources, type, and vals.
Referenced by GenerateWithGene(), and ActEffect.Proc().
|
inlinestatic |
Definition at line 119 of file DNA.cs.
References ThingGen.Create(), GenerateWithGene(), GetRandomType(), CardRow.id, lv, RenderRow.LV, Card.MakeRefFrom(), EClass.rnd(), seed, and type.
Definition at line 106 of file DNA.cs.
References ThingGen.Create(), GenerateWithGene(), GetRandomType(), Card.id, Card.LV, Card.MakeRefFrom(), EClass.rnd(), and type.
Referenced by Trait.CreateStock(), GenerateManiGene(), GenerateRandomGene(), Chara.MakeBraineCell(), and Chara.MakeGene().
|
inlinestatic |
Definition at line 152 of file DNA.cs.
References Card.AddCard(), Card.c_seed, Debug, ThingContainer.DestroyAll(), GenerateGene(), SpawnList.Get(), Card.LV, Card.MakeRefFrom(), SpawnList.Select(), Rand.SetSeed(), and Card.things.
Referenced by TraitGodStatue.OnBarter(), TraitGodStatue.OnChangeMaterial(), and TraitPowerStatue.OnUse().
|
inlinestatic |
Definition at line 140 of file DNA.cs.
References EClass._zone, Zone.ContentLv, GenerateGene(), SpawnList.Get(), lv, seed, SpawnList.Select(), and Rand.SetSeed().
Referenced by Card.TryMakeRandomItem(), and DramaOutcome.upgrade_miscreation().
Definition at line 286 of file DNA.cs.
References Card.ChangeMaterial(), Card.elements, Generate(), GetMaterialId(), ElementContainer.SetTo(), and type.
Referenced by TraitCrafter.Craft(), and GenerateGene().
|
inline |
Definition at line 793 of file DNA.cs.
References Element.Create(), Element.id, and Element.source.
Referenced by AI_Fuck.Finish().
|
inline |
Definition at line 614 of file DNA.cs.
Referenced by InvOwnerGene._OnProcess().
|
inline |
Definition at line 806 of file DNA.cs.
References Element.Create().
Referenced by Element.GetDNABonus().
Definition at line 773 of file DNA.cs.
References Chara.ability, Element.Create(), Element.id, item, ActList.items, CharaAbility.list, and Element.source.
Referenced by InvOwnerGene._OnProcess(), AI_Fuck.Finish(), TraitGene.TrySetHeldAct(), and DramaOutcome.upgrade_miscreation().
Definition at line 747 of file DNA.cs.
References Element.Create(), Card.elements, Card.Evalue(), ElementContainer.GetOrCreateElement(), Element.id, Chara.IsPC, Element.source, and Element.vLink.
Referenced by InvOwnerGene._OnProcess(), AI_Fuck.Finish(), TraitGene.TrySetHeldAct(), and DramaOutcome.upgrade_miscreation().
|
inline |
Definition at line 602 of file DNA.cs.
Referenced by GenerateWithGene().
|
inline |
|
inline |
Definition at line 632 of file DNA.cs.
References SourceManager.cards, SourceCard.map, and EClass.sources.
Referenced by WindowCharaMini.Refresh(), and WindowChara.RefreshSkill().
|
inlinestatic |
|
inline |
Definition at line 829 of file DNA.cs.
References Element.Create(), Card.Evalue(), and Element.source.
Referenced by AI_Fuck.Finish().
|
inline |
Definition at line 843 of file DNA.cs.
References Element.Create(), Element.HasTag(), and Element.source.
|
inline |
Definition at line 818 of file DNA.cs.
References Element.Create(), and Element.source.
Referenced by AI_Fuck.Finish().
Definition at line 642 of file DNA.cs.
References UINote.AddText(), SourceManager.charas, Element.Create(), Element.HasTag(), CardRow.id, SourceChara.Row.job, Element.Name, Element.source, EClass.sources, UINote.Space(), SourceChara.Row.tactics, SourceManager.tactics, and Element.Value.
Referenced by WindowCharaMini.Refresh(), and WindowChara.RefreshSkill().
Definition at line 729 of file DNA.cs.
References UINote.AddHeader(), UINote.AddText(), Card.c_genes, Chara.CurrentGeneSlot, Card.feat, Card.HasElement(), and Chara.MaxGeneSlot.
Referenced by InvOwnerGene.OnWriteNote().
| BitArray32 DNA.bits |
Definition at line 28 of file DNA.cs.
Referenced by _OnSerializing().
| int [] DNA.ints = new int[6] |
Definition at line 23 of file DNA.cs.
Referenced by _OnDeserialized(), and _OnSerializing().
| List<int> DNA.vals = new List<int>() |
Definition at line 26 of file DNA.cs.
Referenced by Apply(), CanRemove(), AI_Fuck.Finish(), Generate(), and Thing.MatchEncSearch().
|
getset |
Definition at line 42 of file DNA.cs.
Referenced by Apply(), CharaBody.Equip(), Generate(), TraitGene.GetValue(), CharaBody.IsEquippable(), InvOwnerGene.ShouldShowGuide(), TraitGene.TrySetHeldAct(), and CharaBody.Unequip().
|
getset |
Definition at line 54 of file DNA.cs.
Referenced by Generate(), GenerateGene(), and GenerateRandomGene().
|
getset |
Definition at line 66 of file DNA.cs.
Referenced by Generate(), GenerateGene(), and GenerateRandomGene().
|
getset |
Definition at line 78 of file DNA.cs.
Referenced by _OnDeserialized(), InvOwnerGene._OnProcess(), Generate(), and FoodEffect.Proc().
|
getset |
Definition at line 30 of file DNA.cs.
Referenced by InvOwnerGene._OnProcess(), Apply(), Generate(), GenerateGene(), GenerateWithGene(), TraitGene.GetName(), Thing.MatchEncSearch(), and FoodEffect.Proc().