1//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
2//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
3#pragma once
4
5#include "BsPrerequisites.h"
6#include "Reflection/BsRTTIType.h"
7#include "Resources/BsScriptCodeImportOptions.h"
8
9namespace bs
10{
11 /** @cond RTTI */
12 /** @addtogroup RTTI-Impl-Engine
13 * @{
14 */
15
16 class BS_EXPORT ScriptCodeImportOptionsRTTI : public RTTIType <ScriptCodeImportOptions, ImportOptions, ScriptCodeImportOptionsRTTI>
17 {
18 private:
19 BS_BEGIN_RTTI_MEMBERS
20 BS_RTTI_MEMBER_PLAIN(editorScript, 0)
21 BS_END_RTTI_MEMBERS
22
23 public:
24 const String& getRTTIName() override
25 {
26 static String name = "ScriptCodeImportOptions";
27 return name;
28 }
29
30 UINT32 getRTTIId() override
31 {
32 return TID_ScriptCodeImportOptions;
33 }
34
35 SPtr<IReflectable> newRTTIObject() override
36 {
37 return bs_shared_ptr_new<ScriptCodeImportOptions>();
38 }
39 };
40
41 /** @} */
42 /** @endcond */
43}
44