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

        try
        {
            GlobalRankingListComponent.CachedRankingListInfo cachedRankingListInfo = (GlobalRankingListComponent.CachedRankingListInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, cachedRankingListInfo.m_rankingListInfo);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 2
0
    public static int constructor(IntPtr l)
    {
        int result;

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

        try
        {
            GlobalRankingListComponent.CachedRankingListInfo cachedRankingListInfo = (GlobalRankingListComponent.CachedRankingListInfo)LuaObject.checkSelf(l);
            DateTime outDateTime;
            LuaObject.checkValueType <DateTime>(l, 2, out outDateTime);
            cachedRankingListInfo.m_outDateTime = outDateTime;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }