forked from kbengine/kbengine_unity3d_plugins
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathScriptModule.cs
More file actions
36 lines (29 loc) · 2.38 KB
/
ScriptModule.cs
File metadata and controls
36 lines (29 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
namespace KBEngine
{
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class ScriptModule
{
public string name;
public bool usePropertyDescrAlias;
public bool useMethodDescrAlias;
public Dictionary<string, Property> propertys = new Dictionary<string, Property>();
public Dictionary<UInt16, Property> idpropertys = new Dictionary<UInt16, Property>();
public Dictionary<string, Method> methods = new Dictionary<string, Method>();
public Dictionary<string, Method> base_methods = new Dictionary<string, Method>();
public Dictionary<string, Method> cell_methods = new Dictionary<string, Method>();
public Dictionary<UInt16, Method> idmethods = new Dictionary<UInt16, Method>();
public Dictionary<UInt16, Method> idbase_methods = new Dictionary<UInt16, Method>();
public Dictionary<UInt16, Method> idcell_methods = new Dictionary<UInt16, Method>();
public Type script = null;
public ScriptModule(string modulename)
{
name = modulename;
script = Type.GetType("KBEngine." + modulename);
usePropertyDescrAlias = false;
useMethodDescrAlias = false;
}
}
}