|
Elin Decompiled Documentation EA 23.244 Nightly
|
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 () |
| 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) |
| Element | GetInvalidFeat (Chara c) |
| Element | GetInvalidAction (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 (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) |
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(), 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, ElementContainer.Learn(), ElementContainer.ModBase(), CharaBody.RefreshBodyParts(), CharaAbility.Remove(), CharaBody.RemoveBodyPart(), Chara.SetFeat(), EClass.sources, type, vals, and ElementContainer.ValueWithoutLink().
|
inline |
|
inline |
Definition at line 489 of file DNA.cs.
References Element.Create(), slot, Element.source, and vals.
Referenced by Generate().
|
inline |
Definition at line 247 of file DNA.cs.
References vals.
Referenced by 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 267 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 260 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 532 of file DNA.cs.
References cost.
Referenced by InvOwnerGene._OnProcess(), and TraitGene.WriteNote().
Definition at line 642 of file DNA.cs.
References Chara.ability, Element.Create(), Element.id, item, ActList.items, CharaAbility.list, Element.source, and vals.
Referenced by InvOwnerGene._OnProcess(), and DramaOutcome.upgrade_miscreation().
Definition at line 629 of file DNA.cs.
References Element.Create(), Card.Evalue(), Element.id, Element.source, and vals.
Referenced by InvOwnerGene._OnProcess(), and DramaOutcome.upgrade_miscreation().
|
inline |
Definition at line 521 of file DNA.cs.
References type.
Referenced by GenerateWithGene().
|
inline |
|
inline |
Definition at line 550 of file DNA.cs.
References SourceManager.cards, cost, SourceCard.map, and EClass.sources.
Referenced by WindowCharaMini.Refresh().
|
inlinestatic |
|
inline |
Definition at line 560 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(), 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(), Generate(), GetInvalidAction(), GetInvalidFeat(), Thing.MatchEncSearch(), and WriteNote().
|
getset |
Definition at line 40 of file DNA.cs.
Referenced by Apply(), CalcCost(), Generate(), GetDurationHour(), GetText(), TraitGene.GetValue(), InvOwnerGene.OnWriteNote(), InvOwnerGene.ShouldShowGuide(), and TraitGene.WriteNote().
|
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(), InvOwnerGene.OnWriteNote(), and WriteNote().
|
getset |
Definition at line 28 of file DNA.cs.
Referenced by InvOwnerGene._OnProcess(), Apply(), Generate(), GenerateGene(), GenerateWithGene(), GetMaterialId(), TraitGene.GetName(), Thing.MatchEncSearch(), and WriteNote().