LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/InventoryAction.hpp
2022-09-25 01:17:11 +08:00

48 lines
1.5 KiB
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#define BEFORE_EXTRA
// Include Headers or Declare Types Here
#include "InventorySource.hpp"
#include "NetworkItemStackDescriptor.hpp"
#include "ItemStack.hpp"
#undef BEFORE_EXTRA
class InventoryAction {
#define AFTER_EXTRA
// Add Member There
public:
InventorySource source; // 0
uint32_t slot; // 12
NetworkItemStackDescriptor fromDescriptor; // 16
NetworkItemStackDescriptor toDescriptor; // 104
ItemStack fromItem; // 192
ItemStack toItem; // 352
private:
inline void test()
{
static_assert(offsetof(InventoryAction, slot) == 12);
static_assert(offsetof(InventoryAction, fromDescriptor) == 16);
static_assert(offsetof(InventoryAction, toDescriptor) == 104);
static_assert(offsetof(InventoryAction, fromItem) == 192);
static_assert(offsetof(InventoryAction, toItem) == 352);
}
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORYACTION
public:
InventoryAction() = delete;
#endif
public:
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORYACTION
#endif
MCAPI InventoryAction(class InventorySource, unsigned int, class ItemStack const &, class ItemStack const &);
MCAPI InventoryAction(class InventoryAction const &);
MCAPI class InventoryAction & operator=(class InventoryAction const &);
MCAPI ~InventoryAction();
};