diff options
author | chai <chaifix@163.com> | 2021-10-25 23:29:21 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-25 23:29:21 +0800 |
commit | 7ecf913256fb396e3027aac3318d996a716a52ef (patch) | |
tree | 4540835c881a63b665e2a692bf30115fd29e8bb0 /Runtime/Common/DataBuffer.h | |
parent | 0816cd70ca1a213b6ed872bcf3c0bf0912473722 (diff) |
+ job system
Diffstat (limited to 'Runtime/Common/DataBuffer.h')
-rw-r--r-- | Runtime/Common/DataBuffer.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Runtime/Common/DataBuffer.h b/Runtime/Common/DataBuffer.h new file mode 100644 index 0000000..330128f --- /dev/null +++ b/Runtime/Common/DataBuffer.h @@ -0,0 +1,14 @@ +#pragma once +#include "Runtime/Lua/LuaHelper.h" + +// 描述内存对象,会作为 +// 1. 多线程读取文件的返回 +class DataBuffer : public LuaBind::NativeClass<DataBuffer> +{ +public: + DataBuffer(LuaBind::VM* vm); + ~DataBuffer(); + + char* data; + int length; +};
\ No newline at end of file |