示例#1
0
 static int _m_FireEvent(RealStatePtr L)
 {
     
     ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
     
     
     ClientEventMgr __cl_gen_to_be_invoked = (ClientEventMgr)translator.FastGetCSObj(L, 1);
     
     
     try {
         
         {
             int eventID = LuaAPI.xlua_tointeger(L, 2);
             CEventBaseArgs arg = (CEventBaseArgs)translator.GetObject(L, 3, typeof(CEventBaseArgs));
             
             __cl_gen_to_be_invoked.FireEvent( eventID, arg );
             
             
             
             return 0;
         }
         
     } catch(System.Exception __gen_e) {
         return LuaAPI.luaL_error(L, "c# exception:" + __gen_e);
     }
     
 }