Esempio n. 1
0
    public static int get_LastRankingListQueryTime(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, globalRankingListComponentCommon.m_luaExportHelper.LastRankingListQueryTime);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 2
0
    public static int DeInit(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            globalRankingListComponentCommon.DeInit();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 3
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon o = new GlobalRankingListComponentCommon();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 4
0
    public static int GetName(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            string name = globalRankingListComponentCommon.GetName();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, name);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 5
0
    public static int set_Owner(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            IComponentOwner owner;
            LuaObject.checkType <IComponentOwner>(l, 2, out owner);
            globalRankingListComponentCommon.Owner = owner;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 6
0
    public static int set_LastRankingListQueryTime(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            DateTime[] lastRankingListQueryTime;
            LuaObject.checkArray <DateTime>(l, 2, out lastRankingListQueryTime);
            globalRankingListComponentCommon.m_luaExportHelper.LastRankingListQueryTime = lastRankingListQueryTime;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 7
0
    public static int set_m_hero(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            HeroComponentCommon hero;
            LuaObject.checkType <HeroComponentCommon>(l, 2, out hero);
            globalRankingListComponentCommon.m_luaExportHelper.m_hero = hero;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 8
0
    public static int set_m_configDataLoader(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            IConfigDataLoader configDataLoader;
            LuaObject.checkType <IConfigDataLoader>(l, 2, out configDataLoader);
            globalRankingListComponentCommon.m_luaExportHelper.m_configDataLoader = configDataLoader;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 9
0
    public static int Tick(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            uint deltaMillisecond;
            LuaObject.checkType(l, 2, out deltaMillisecond);
            globalRankingListComponentCommon.Tick(deltaMillisecond);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 10
0
    public static int UpdateLastRankingListQueryTime(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            RankingListType rankingListType;
            LuaObject.checkEnum <RankingListType>(l, 2, out rankingListType);
            DateTime currTime;
            LuaObject.checkValueType <DateTime>(l, 3, out currTime);
            globalRankingListComponentCommon.UpdateLastRankingListQueryTime(rankingListType, currTime);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 11
0
    public static int CheckRankingListInfoQuery(IntPtr l)
    {
        int result;

        try
        {
            GlobalRankingListComponentCommon globalRankingListComponentCommon = (GlobalRankingListComponentCommon)LuaObject.checkSelf(l);
            RankingListType rankingListType;
            LuaObject.checkEnum <RankingListType>(l, 2, out rankingListType);
            int  i;
            bool b = globalRankingListComponentCommon.CheckRankingListInfoQuery(rankingListType, out i);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            LuaObject.pushValue(l, i);
            result = 3;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }