soupply ~master (2018-09-02T09:28:20Z)
Dub
Repo
InventoryTransaction.UseItemOnEntity
soupply
bedrock160
protocol
play
InventoryTransaction
Undocumented in source.
class
InventoryTransaction
class
UseItemOnEntity :
Bedrock160Packet
{
enum
typeof
(
type
)
TYPE
;
enum
uint
INTERACT
;
enum
uint
ATTACK
;
enum
string
[]
__fields
;
@
Var
long
entityId
;
@
Var
uint
actionType
;
@
Var
int
hotbarSlot
;
soupply
.
bedrock160
.
types
.
Slot
item
;
Vector
!(
float
,
"xyz"
)
unknown4
;
Vector
!(
float
,
"xyz"
)
unknown5
;
this
();
this
(long entityId, uint actionType, int hotbarSlot, soupply.bedrock160.types.Slot item, Vector!(float, "xyz") unknown4, Vector!(float, "xyz") unknown5);
mixin
Make
;
string
toString
();
}
Constructors
this
this
()
Undocumented in source.
this
this
(long entityId, uint actionType, int hotbarSlot, soupply.bedrock160.types.Slot item, Vector!(float, "xyz") unknown4, Vector!(float, "xyz") unknown5)
Undocumented in source.
Members
Functions
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
Make
Undocumented in source.
Variables
ATTACK
enum
uint
ATTACK
;
Undocumented in source.
INTERACT
enum
uint
INTERACT
;
Undocumented in source.
TYPE
enum
typeof
(
type
)
TYPE
;
Undocumented in source.
__fields
enum
string
[]
__fields
;
Undocumented in source.
actionType
uint
actionType
;
Undocumented in source.
entityId
long
entityId
;
Undocumented in source.
hotbarSlot
int
hotbarSlot
;
Undocumented in source.
item
soupply
.
bedrock160
.
types
.
Slot
item
;
Undocumented in source.
unknown4
Vector
!(
float
,
"xyz"
)
unknown4
;
Undocumented in source.
unknown5
Vector
!(
float
,
"xyz"
)
unknown5
;
Undocumented in source.
Meta
Source
See Implementation
soupply
bedrock160
protocol
play
InventoryTransaction
aliases
Variants
classes
Normal0
Normal1
ReleaseItem
UseItem
UseItemOnEntity
constructors
this
functions
toString
mixins
__anonymous
static functions
fromBuffer
variables
CLIENTBOUND
ID
SERVERBOUND
__fields
actions
type
variantField