mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-05 03:43:40 +00:00
29 lines
796 B
C++
29 lines
796 B
C++
#pragma once
|
|
#include "APIHelp.h"
|
|
#include <MC/CommandOrigin.hpp>
|
|
|
|
class CommandOriginClass;
|
|
extern ClassDefine<void> OriginTypeStaticBuilder;
|
|
extern ClassDefine<CommandOriginClass> CommandOriginClassBuilder;
|
|
|
|
|
|
class CommandOriginClass : public ScriptClass {
|
|
CommandOrigin const* ptr;
|
|
inline CommandOrigin const* get() {
|
|
return ptr;
|
|
}
|
|
|
|
public:
|
|
CommandOriginClass(CommandOrigin const* p);
|
|
static Local<Object> newCommandOrigin(CommandOrigin const* p);
|
|
Local<Value> getOriginType();
|
|
Local<Value> getOriginTypeName();
|
|
Local<Value> getOriginName();
|
|
Local<Value> getBlockPosition();
|
|
Local<Value> getPosition();
|
|
Local<Value> getEntity();
|
|
Local<Value> getPlayer();
|
|
// Local<Value> getNbt(const Arguments& args);
|
|
Local<Value> toString();
|
|
};
|