sel-utils ~master (2018-02-05T12:12:47Z)
Dub
Repo
InventoryTransaction.ReleaseItem
sul
protocol
bedrock160
play
InventoryTransaction
Undocumented in source.
class
InventoryTransaction
class
ReleaseItem {
enum
typeof
(
type
)
TYPE
;
enum
uint
SHOOT_BOW
;
enum
uint
CONSUME
;
enum
string
[]
FIELDS
;
uint
actionType
;
int
hotbarSlot
;
sul
.
protocol
.
bedrock160
.
types
.
Slot
item
;
Tuple
!(
float
,
"x"
,
float
,
"y"
,
float
,
"z"
)
headPosition
;
this
();
this
(uint actionType, int hotbarSlot, sul.protocol.bedrock160.types.Slot item, Tuple!(float, "x", float, "y", float, "z") headPosition);
ubyte
[]
encode
();
void
decode
();
string
toString
();
}
Constructors
this
this
()
Undocumented in source.
this
this
(uint actionType, int hotbarSlot, sul.protocol.bedrock160.types.Slot item, Tuple!(float, "x", float, "y", float, "z") headPosition)
Undocumented in source.
Members
Functions
decode
void
decode
()
Undocumented in source. Be warned that the author may not have intended to support it.
encode
ubyte
[]
encode
()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
CONSUME
enum
uint
CONSUME
;
Undocumented in source.
FIELDS
enum
string
[]
FIELDS
;
Undocumented in source.
SHOOT_BOW
enum
uint
SHOOT_BOW
;
Undocumented in source.
TYPE
enum
typeof
(
type
)
TYPE
;
Undocumented in source.
actionType
uint
actionType
;
Undocumented in source.
headPosition
Tuple
!(
float
,
"x"
,
float
,
"y"
,
float
,
"z"
)
headPosition
;
Undocumented in source.
hotbarSlot
int
hotbarSlot
;
Undocumented in source.
item
sul
.
protocol
.
bedrock160
.
types
.
Slot
item
;
Undocumented in source.
Meta
Source
See Implementation
sul
protocol
bedrock160
play
InventoryTransaction
aliases
Variants
_encode
classes
Normal0
Normal1
ReleaseItem
UseItem
UseItemOnEntity
constructors
this
functions
decode
encode
toString
static functions
fromBuffer
variables
CLIENTBOUND
FIELDS
ID
SERVERBOUND
actions
type
variantField