示例#1
0
    static int GetInfoByName(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        XMLLoader <XMLDataBattle> obj = LuaScriptMgr.GetNetObject <XMLLoader <XMLDataBattle> >(L, 1);
        string        arg0            = LuaScriptMgr.GetLuaString(L, 2);
        XMLDataBattle o = obj.GetInfoByName(arg0);

        LuaScriptMgr.PushObject(L, o);
        return(1);
    }