mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-06 12:03:39 +00:00
46 lines
1.4 KiB
C++
46 lines
1.4 KiB
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "llapi/Global.h"
|
|
|
|
#define BEFORE_EXTRA
|
|
// Include Headers or Declare Types Here
|
|
#include "InventoryTransaction.hpp"
|
|
#undef BEFORE_EXTRA
|
|
|
|
class ComplexInventoryTransaction {
|
|
|
|
#define AFTER_EXTRA
|
|
// Add Member There
|
|
public:
|
|
enum class Type : unsigned
|
|
{
|
|
NORMAL = 0,
|
|
MISMATCH = 1,
|
|
ITEM_USE = 2,
|
|
ITEM_USE_ON_ACTOR = 3,
|
|
RELEASE_ITEM = 4,
|
|
} type;
|
|
InventoryTransaction data;
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPLEXINVENTORYTRANSACTION
|
|
public:
|
|
class ComplexInventoryTransaction& operator=(class ComplexInventoryTransaction const &) = delete;
|
|
ComplexInventoryTransaction(class ComplexInventoryTransaction const &) = delete;
|
|
ComplexInventoryTransaction() = delete;
|
|
#endif
|
|
|
|
public:
|
|
/*0*/ virtual ~ComplexInventoryTransaction();
|
|
/*1*/ virtual void __unk_vfn_1();
|
|
/*2*/ virtual void __unk_vfn_2();
|
|
/*3*/ virtual enum InventoryTransactionError handle(class Player &, bool) const;
|
|
/*4*/ virtual void onTransactionError(class Player &, enum InventoryTransactionError) const;
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPLEXINVENTORYTRANSACTION
|
|
MCVAPI void read(class ReadOnlyBinaryStream &);
|
|
MCVAPI void write(class BinaryStream &) const;
|
|
#endif
|
|
MCAPI static std::unique_ptr<class ComplexInventoryTransaction> fromType(enum ComplexInventoryTransaction::Type, class InventoryTransaction const &);
|
|
|
|
}; |