first commit
This commit is contained in:
commit
7dd9dd689e
40 changed files with 4100 additions and 0 deletions
28
ProtoGen/ProtoCache.h
Normal file
28
ProtoGen/ProtoCache.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#pragma once
|
||||
|
||||
#include "Il2CppApi.h"
|
||||
#include <map>
|
||||
|
||||
enum CachedType{
|
||||
Object,
|
||||
Boolean,
|
||||
Byte,
|
||||
SByte,
|
||||
UInt16,
|
||||
Int16,
|
||||
UInt32,
|
||||
Int32,
|
||||
UInt64,
|
||||
Int64,
|
||||
Single,
|
||||
Double,
|
||||
String,
|
||||
ByteString,
|
||||
Any,
|
||||
Enum,
|
||||
};
|
||||
|
||||
struct TypeCache {
|
||||
std::map<std::size_t, CachedType> type_map;
|
||||
static TypeCache init();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue