Elin Decompiled Documentation EA 23.102 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 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 | |
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] |
![]() | |
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 Core | core |
enum DNA.Type |
|
inlineprivate |
|
inlineprivate |
|
inline |
Definition at line 165 of file DNA.cs.
References Apply(), Card.c_genes, cost, CharaGenes.inferior, CharaGenes.items, and type.
Referenced by Apply().
|
inline |
Definition at line 182 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 473 of file DNA.cs.
References Element.Create(), slot, Element.source, and vals.
Referenced by Generate().
|
inline |
Definition at line 234 of file DNA.cs.
References vals.
Referenced by WindowCharaMini.Refresh(), and WriteNote().
Definition at line 130 of file DNA.cs.
References Card.c_DNA, Card.c_idRefCard, Card.ChangeMaterial(), and Card.material.
Referenced by Card.TryMakeRandomItem().
Definition at line 254 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 117 of file DNA.cs.
References ThingGen.Create(), GenerateWithGene(), GetRandomType(), CardRow.id, lv, RenderRow.LV, Card.MakeRefFrom(), EClass.rnd(), seed, and type.
Definition at line 104 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 150 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 138 of file DNA.cs.
References EClass._zone, Zone.ContentLv, GenerateGene(), SpawnList.Get(), lv, seed, SpawnList.Select(), and Rand.SetSeed().
Referenced by Card.TryMakeRandomItem().
Definition at line 247 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 516 of file DNA.cs.
References cost.
Referenced by InvOwnerGene._OnProcess(), and TraitGene.WriteNote().
Definition at line 617 of file DNA.cs.
References Chara.ability, Element.Create(), Element.id, item, ActList.items, CharaAbility.list, Element.source, and vals.
Referenced by InvOwnerGene._OnProcess().
Definition at line 604 of file DNA.cs.
References Element.Create(), Card.Evalue(), Element.id, Element.source, and vals.
Referenced by InvOwnerGene._OnProcess().
|
inline |
Definition at line 505 of file DNA.cs.
References type.
Referenced by GenerateWithGene().
|
inline |
|
inline |
Definition at line 534 of file DNA.cs.
References SourceManager.cards, cost, SourceCard.map, and EClass.sources.
Referenced by WindowCharaMini.Refresh().
|
inlinestatic |
|
inline |
Definition at line 539 of file DNA.cs.
References UINote.AddText(), CanRemove(), SourceManager.charas, Element.Create(), EClass.debug, CardRow.id, SourceChara.Row.job, Element.Name, CoreDebug.showExtra, slot, Element.source, EClass.sources, UINote.Space(), SourceChara.Row.tactics, SourceManager.tactics, type, vals, and Element.Value.
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 |
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().