Example #1
0
        static int _m_InitNPCData(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            NpcPlayer __cl_gen_to_be_invoked = (NpcPlayer)translator.FastGetCSObj(L, 1);


            try {
                {
                    Neptune.NPC data = (Neptune.NPC)translator.GetObject(L, 2, typeof(Neptune.NPC));

                    __cl_gen_to_be_invoked.InitNPCData(data);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }