|
Elin Decompiled Documentation EA 23.287 Stable Patch 3
|
Public Types | |
| enum | Type { Inferior = 0 , Default = 3 , Superior = 5 , 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, Chara tg=null) |
| void | WriteNoteExtra (UINote n, Chara tg) |
| Element | GetInvalidFeat (Chara c) |
| Element | GetInvalidAction (Chara c) |
| void | MakeSlimeFood (Chara c) |
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 Thing | 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] |
| bool | isManiGene [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 178 of file DNA.cs.
References Apply(), Card.c_genes, cost, CharaGenes.inferior, CharaGenes.items, and type.
Referenced by Apply(), FoodEffect.Proc(), and DramaOutcome.upgrade_miscreation().
|
inline |
Definition at line 195 of file DNA.cs.
References Chara.ability, CharaAbility.Add(), CharaBody.AddBodyPart(), Chara.body, SourceElement.Row.category, Card.elements, SourceManager.elements, SourceElement.Row.id, WidgetEquip.Instance, Chara.IsPC, ElementContainer.Learn(), ElementContainer.ModBase(), WidgetEquip.Rebuild(), CharaBody.RefreshBodyParts(), CharaAbility.Remove(), CharaBody.RemoveBodyPart(), Chara.SetFeat(), EClass.sources, type, vals, and ElementContainer.ValueWithoutLink().
|
inline |
|
inline |
Definition at line 504 of file DNA.cs.
References Element.Create(), slot, Element.source, and vals.
Referenced by Generate().
|
inline |
Definition at line 251 of file DNA.cs.
References Chara.IsPC, and vals.
Referenced by GetInvalidFeat(), WindowCharaMini.Refresh(), and WriteNote().
Definition at line 142 of file DNA.cs.
References Card.c_DNA, Card.c_idRefCard, Card.ChangeMaterial(), and Card.material.
Referenced by Card.TryMakeRandomItem().
Definition at line 279 of file DNA.cs.
References ActList.Item.act, CalcCost(), CalcSlot(), ActList.Item.chance, cost, CharaGen.Create(), EClass.curve(), EClass.debug, Debug, BodySlot.elementId, CoreDebug.enable, Element.id, lv, ActList.Item.pt, EClass.rnd(), EClass.rndHalf(), seed, Card.SetLv(), Rand.SetSeed(), slot, Element.source, type, vals, and Element.ValueWithoutLink.
Referenced by GenerateWithGene(), and ActEffect.Proc().
|
inlinestatic |
Definition at line 129 of file DNA.cs.
References ThingGen.Create(), GenerateWithGene(), GetRandomType(), CardRow.id, lv, RenderRow.LV, Card.MakeRefFrom(), EClass.rnd(), seed, and type.
Definition at line 116 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().
Definition at line 162 of file DNA.cs.
References Card.c_seed, Debug, ThingContainer.DestroyAll(), GenerateGene(), SpawnList.Get(), Card.LV, Card.MakeRefFrom(), SpawnList.Select(), Rand.SetSeed(), and Card.things.
Referenced by TraitGodStatue._OnUse(), and TraitGodStatue.OnChangeMaterial().
|
inlinestatic |
Definition at line 150 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 272 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 547 of file DNA.cs.
References cost.
Referenced by InvOwnerGene._OnProcess(), and TraitGene.WriteNote().
Definition at line 688 of file DNA.cs.
References Chara.ability, Element.Create(), Element.id, item, ActList.items, CharaAbility.list, Element.source, and vals.
Referenced by InvOwnerGene._OnProcess(), AI_Fuck.Finish(), TraitGene.TrySetHeldAct(), and DramaOutcome.upgrade_miscreation().
Definition at line 662 of file DNA.cs.
References CanRemove(), Element.Create(), Card.elements, Card.Evalue(), ElementContainer.GetOrCreateElement(), Element.id, Chara.IsPC, Element.source, vals, and Element.vLink.
Referenced by InvOwnerGene._OnProcess(), AI_Fuck.Finish(), TraitGene.TrySetHeldAct(), and DramaOutcome.upgrade_miscreation().
|
inline |
Definition at line 536 of file DNA.cs.
References type.
Referenced by GenerateWithGene().
|
inline |
|
inline |
Definition at line 565 of file DNA.cs.
References SourceManager.cards, cost, SourceCard.map, and EClass.sources.
Referenced by WindowCharaMini.Refresh(), and WindowChara.RefreshSkill().
|
inlinestatic |
|
inline |
Definition at line 708 of file DNA.cs.
References cost, Element.Create(), Card.Evalue(), Element.source, and vals.
Referenced by AI_Fuck.Finish().
Definition at line 575 of file DNA.cs.
References UINote.AddText(), CanRemove(), SourceManager.charas, Element.Create(), CardRow.id, SourceChara.Row.job, Element.Name, slot, Element.source, EClass.sources, UINote.Space(), SourceChara.Row.tactics, SourceManager.tactics, type, and vals.
Referenced by WindowCharaMini.Refresh(), WindowChara.RefreshSkill(), and TraitGene.WriteNote().
Definition at line 644 of file DNA.cs.
References UINote.AddHeader(), UINote.AddText(), Card.c_genes, cost, Chara.CurrentGeneSlot, Card.feat, Card.HasElement(), Chara.MaxGeneSlot, and slot.
Referenced by InvOwnerGene.OnWriteNote(), and TraitGene.WriteNote().
| BitArray32 DNA.bits |
Definition at line 26 of file DNA.cs.
Referenced by _OnSerializing().
| int [] DNA.ints = new int[6] |
Definition at line 21 of file DNA.cs.
Referenced by _OnDeserialized(), and _OnSerializing().
| List<int> DNA.vals = new List<int>() |
Definition at line 24 of file DNA.cs.
Referenced by Apply(), CalcSlot(), CanRemove(), AI_Fuck.Finish(), Generate(), GetInvalidAction(), GetInvalidFeat(), MakeSlimeFood(), Thing.MatchEncSearch(), and WriteNote().
|
getset |
Definition at line 40 of file DNA.cs.
Referenced by Apply(), CalcCost(), Generate(), GetDurationHour(), GetText(), TraitGene.GetValue(), MakeSlimeFood(), InvOwnerGene.ShouldShowGuide(), TraitGene.TrySetHeldAct(), TraitGene.WriteNote(), and WriteNoteExtra().
|
getset |
|
getset |
Definition at line 52 of file DNA.cs.
Referenced by Generate(), GenerateGene(), and GenerateRandomGene().
|
getset |
Definition at line 64 of file DNA.cs.
Referenced by Generate(), GenerateGene(), and GenerateRandomGene().
|
getset |
Definition at line 76 of file DNA.cs.
Referenced by _OnDeserialized(), InvOwnerGene._OnProcess(), CalcSlot(), Generate(), FoodEffect.Proc(), WriteNote(), and WriteNoteExtra().
|
getset |
Definition at line 28 of file DNA.cs.
Referenced by InvOwnerGene._OnProcess(), Apply(), Generate(), GenerateGene(), GenerateWithGene(), GetMaterialId(), TraitGene.GetName(), Thing.MatchEncSearch(), FoodEffect.Proc(), and WriteNote().