Elin Modding Docs Doc
|
Public Member Functions | |
void | SetOwner (Chara chara, bool deserialized=false) |
void | Unequip (Thing thing, bool refresh=true) |
void | UnequipAll (int idSlot) |
void | Unequip (BodySlot slot, bool refresh=true) |
bool | IsEquippable (Thing thing, BodySlot slot, bool text=true) |
bool | IsTooHeavyToEquip (Thing thing) |
void | UnqeuipIfTooHeavy (Thing t) |
bool | Equip (Thing thing, BodySlot slot=null, bool msg=true) |
void | AddBodyPart (int ele, Thing thing=null) |
void | RefreshBodyParts () |
void | RemoveBodyPart (int ele) |
BodySlot | GetSlot (Thing t, bool onlyEmpty=false, bool secondSlot=false) |
BodySlot | GetSlot (int elementId, bool onlyEmpty=true, bool secondSlot=false) |
Thing | GetEquippedThing (int elementId) |
int | GetWeight (bool armorOnly=false) |
int | GetAttackIndex (Thing t) |
int | GetMeleeDistance () |
AttackStyle | GetAttackStyle () |
int | GetAttackStyleElement (AttackStyle style) |
Public Attributes | |
Chara | owner |
List< BodySlot > | slots = new List<BodySlot>() |
BodySlot | slotMainHand |
BodySlot | slotOffHand |
BodySlot | slotRange |
Properties | |
int[] | rawSlots [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] |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
static Core | core |
Definition at line 7 of file CharaBody.cs.
void CharaBody.AddBodyPart | ( | int | ele, |
Thing | thing = null ) |
Definition at line 268 of file CharaBody.cs.
Definition at line 176 of file CharaBody.cs.
int CharaBody.GetAttackIndex | ( | Thing | t | ) |
Definition at line 406 of file CharaBody.cs.
AttackStyle CharaBody.GetAttackStyle | ( | ) |
Definition at line 443 of file CharaBody.cs.
int CharaBody.GetAttackStyleElement | ( | AttackStyle | style | ) |
Definition at line 477 of file CharaBody.cs.
Thing CharaBody.GetEquippedThing | ( | int | elementId | ) |
Definition at line 379 of file CharaBody.cs.
int CharaBody.GetMeleeDistance | ( | ) |
Definition at line 424 of file CharaBody.cs.
BodySlot CharaBody.GetSlot | ( | int | elementId, |
bool | onlyEmpty = true, | ||
bool | secondSlot = false ) |
Definition at line 361 of file CharaBody.cs.
Definition at line 346 of file CharaBody.cs.
int CharaBody.GetWeight | ( | bool | armorOnly = false | ) |
Definition at line 392 of file CharaBody.cs.
Definition at line 109 of file CharaBody.cs.
bool CharaBody.IsTooHeavyToEquip | ( | Thing | thing | ) |
Definition at line 152 of file CharaBody.cs.
void CharaBody.RefreshBodyParts | ( | ) |
Definition at line 295 of file CharaBody.cs.
void CharaBody.RemoveBodyPart | ( | int | ele | ) |
Definition at line 319 of file CharaBody.cs.
void CharaBody.SetOwner | ( | Chara | chara, |
bool | deserialized = false ) |
Definition at line 20 of file CharaBody.cs.
void CharaBody.Unequip | ( | BodySlot | slot, |
bool | refresh = true ) |
Definition at line 74 of file CharaBody.cs.
void CharaBody.Unequip | ( | Thing | thing, |
bool | refresh = true ) |
Definition at line 52 of file CharaBody.cs.
void CharaBody.UnequipAll | ( | int | idSlot | ) |
Definition at line 62 of file CharaBody.cs.
void CharaBody.UnqeuipIfTooHeavy | ( | Thing | t | ) |
Definition at line 158 of file CharaBody.cs.
Chara CharaBody.owner |
Definition at line 502 of file CharaBody.cs.
BodySlot CharaBody.slotMainHand |
Definition at line 508 of file CharaBody.cs.
BodySlot CharaBody.slotOffHand |
Definition at line 511 of file CharaBody.cs.
BodySlot CharaBody.slotRange |
Definition at line 514 of file CharaBody.cs.
Definition at line 505 of file CharaBody.cs.
|
get |
Definition at line 11 of file CharaBody.cs.