LeviLamina
Loading...
Searching...
No Matches
StringPayload.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/reflection/Privilege.h"
7#include "mc/deps/scripting/runtime/IPayload.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Scripting { class ResultAny; }
12namespace Scripting { class StringBasedRuntime; }
13namespace Scripting { struct ContextId; }
14// clang-format on
15
16namespace Scripting {
17
18class StringPayload : public ::Scripting::IPayload {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::string> mScriptName;
23 ::ll::TypedStorage<8, 32, ::std::string> mScriptData;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 StringPayload();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~StringPayload() /*override*/;
34
35 virtual ::Scripting::ResultAny runOn(
36 ::Scripting::ContextId contextId,
38 ::std::optional<::Scripting::Privilege> privilege
39 ) /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI StringPayload(::std::string scriptName, ::std::string scriptData);
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCAPI void* $ctor(::std::string scriptName, ::std::string scriptData);
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCAPI void $dtor();
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCAPI ::Scripting::ResultAny $runOn(
64 ::Scripting::ContextId contextId,
66 ::std::optional<::Scripting::Privilege> privilege
67 );
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
78
79} // namespace Scripting
Definition IPayload.h:18
Definition ResultAny.h:7
Definition StringBasedRuntime.h:18
static MCAPI void ** $vftable()
Definition ContextId.h:7