Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
ItemStackNetIdVariant.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/platform/Result.h"
7
#include "mc/world/inventory/network/TypedClientNetId.h"
8
#include "mc/world/inventory/network/TypedServerNetId.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
ReadOnlyBinaryStream
;
13
struct
ItemStackLegacyRequestIdTag
;
14
struct
ItemStackNetIdTag
;
15
struct
ItemStackRequestIdTag
;
16
// clang-format on
17
18
struct
ItemStackNetIdVariant {
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 24, ::std::variant<::ItemStackNetId, ::ItemStackRequestId, ::ItemStackLegacyRequestId>>
23
mVariant;
24
// NOLINTEND
25
26
public
:
27
ItemStackNetIdVariant() : mVariant(ItemStackNetId(0)) {}
28
29
public
:
30
// member functions
31
// NOLINTBEGIN
32
MCNAPI ::Bedrock::Result<void>
deserialize
(
::ReadOnlyBinaryStream
& stream);
33
34
MCAPI
bool
operator==(::ItemStackNetIdVariant
const
& other)
const
;
35
36
MCNAPI ::std::string
toString
()
const
;
37
// NOLINTEND
38
};
ReadOnlyBinaryStream
Definition
ReadOnlyBinaryStream.h:8
ItemStackLegacyRequestIdTag
Definition
ItemStackLegacyRequestIdTag.h:5
ItemStackNetIdTag
Definition
ItemStackNetIdTag.h:5
ItemStackNetIdVariant::toString
MCAPI::std::string toString() const
ItemStackNetIdVariant::deserialize
MCAPI ::Bedrock::Result< void > deserialize(::ReadOnlyBinaryStream &stream)
ItemStackRequestIdTag
Definition
ItemStackRequestIdTag.h:5
src
mc
world
inventory
network
ItemStackNetIdVariant.h
Generated on
for LeviLamina by
1.16.1