Elin Decompiled Documentation EA 23.229 Stable 1st Anniversary Patch 2
Loading...
Searching...
No Matches
DragItemCard.DragInfo Class Reference

Public Member Functions

 DragInfo (ButtonGrid b)
 

Public Attributes

ButtonGrid button
 
BodySlot equippedSlot
 
int invX
 
int invY
 
Thing thing
 

Properties

List< Thinggrid [get]
 
InvOwner invOwner [get]
 
Card container [get]
 
BaseList list [get]
 
ContainerType ContainerType [get]
 

Detailed Description

Definition at line 5 of file DragItemCard.cs.

Constructor & Destructor Documentation

◆ DragInfo()

DragItemCard.DragInfo.DragInfo ( ButtonGrid  b)
inline

Definition at line 27 of file DragItemCard.cs.

28 {
29 button = b;
30 if (!b || b.invOwner == null)
31 {
32 return;
33 }
34 if (b.card != null)
35 {
36 thing = b.card.Thing;
37 invX = thing.invX;
38 invY = thing.invY;
40 {
41 equippedSlot = invOwner.owner.Chara.body.slots[thing.c_equippedSlot - 1];
42 }
43 }
44 else
45 {
46 invX = b.index;
48 }
49 }
Card card
Definition: ButtonGrid.cs:24
InvOwner invOwner
Definition: ButtonGrid.cs:28
virtual Chara Chara
Definition: Card.cs:2058
int invY
Definition: Card.cs:1943
virtual Thing Thing
Definition: Card.cs:2046
Card GetRootCard()
Definition: Card.cs:3356
int invX
Definition: Card.cs:1931
List< BodySlot > slots
Definition: CharaBody.cs:8
CharaBody body
Definition: Chara.cs:94
virtual int destInvY
Definition: InvOwner.cs:589
Card owner
Definition: InvOwner.cs:533
bool isEquipped
Definition: Thing.cs:17

References Chara.body, DragItemCard.DragInfo.button, ButtonGrid.card, Card.Chara, InvOwner.destInvY, DragItemCard.DragInfo.equippedSlot, Card.GetRootCard(), ButtonGrid.index, ButtonGrid.invOwner, DragItemCard.DragInfo.invOwner, Card.invX, DragItemCard.DragInfo.invX, Card.invY, DragItemCard.DragInfo.invY, Thing.isEquipped, InvOwner.owner, CharaBody.slots, Card.Thing, and DragItemCard.DragInfo.thing.

Member Data Documentation

◆ button

ButtonGrid DragItemCard.DragInfo.button

◆ equippedSlot

BodySlot DragItemCard.DragInfo.equippedSlot

Definition at line 9 of file DragItemCard.cs.

Referenced by DragItemCard.DragInfo.DragInfo(), and InvOwner.PutBack().

◆ invX

int DragItemCard.DragInfo.invX

◆ invY

int DragItemCard.DragInfo.invY

◆ thing

Property Documentation

◆ container

Card DragItemCard.DragInfo.container
get

Definition at line 21 of file DragItemCard.cs.

Referenced by InvOwner.PutBack().

◆ ContainerType

ContainerType DragItemCard.DragInfo.ContainerType
get

Definition at line 25 of file DragItemCard.cs.

◆ grid

List<Thing> DragItemCard.DragInfo.grid
get

Definition at line 17 of file DragItemCard.cs.

◆ invOwner

◆ list

BaseList DragItemCard.DragInfo.list
get

Definition at line 23 of file DragItemCard.cs.

Referenced by InvOwner.Grab(), InvOwner.OnDrag(), and InvOwner.PutBack().


The documentation for this class was generated from the following file: