summaryrefslogtreecommitdiff
path: root/Runtime/Lua/LuaBind/LuaBindHelper.h
blob: f095add3ca90498f850e36085ff4017c04b09286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _LUA_BIND_HELPER_H
#define _LUA_BIND_HELPER_H

namespace LuaBind 
{
    class UIDGenerator
    {
    public:
        UIDGenerator() { m_Cur = 0; }
        int GetID() { return ++m_Cur; }

    private:
        int m_Cur;
    };
};
#endif