| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(AnyCountDownUtility); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 2, 2, 2); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 1, 2, 2); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Initialize", _m_Initialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Create", _m_Create); |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Initialize(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | AnyCountDownUtility gen_to_be_invoked = (AnyCountDownUtility)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.Initialize( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Create(RealStatePtr L) |