示例#1
0
    public static int get_MostSkilledHeroId(IntPtr l)
    {
        int result;

        try
        {
            BusinessCardStatisticalData businessCardStatisticalData = (BusinessCardStatisticalData)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, businessCardStatisticalData.MostSkilledHeroId);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#2
0
    public static int get_ChooseLevelAchievementNums(IntPtr l)
    {
        int result;

        try
        {
            BusinessCardStatisticalData businessCardStatisticalData = (BusinessCardStatisticalData)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, businessCardStatisticalData.ChooseLevelAchievementNums);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#3
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            BusinessCardStatisticalData o = new BusinessCardStatisticalData();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#4
0
    public static int FromProtocol_s(IntPtr l)
    {
        int result;

        try
        {
            ProBusinessCardStatisticalData pbData;
            LuaObject.checkType <ProBusinessCardStatisticalData>(l, 1, out pbData);
            BusinessCardStatisticalData o = BusinessCardStatisticalData.FromProtocol(pbData);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#5
0
    public static int set_RiftAchievementNums(IntPtr l)
    {
        int result;

        try
        {
            BusinessCardStatisticalData businessCardStatisticalData = (BusinessCardStatisticalData)LuaObject.checkSelf(l);
            int riftAchievementNums;
            LuaObject.checkType(l, 2, out riftAchievementNums);
            businessCardStatisticalData.RiftAchievementNums = riftAchievementNums;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#6
0
    public static int set_HeroTotalPower(IntPtr l)
    {
        int result;

        try
        {
            BusinessCardStatisticalData businessCardStatisticalData = (BusinessCardStatisticalData)LuaObject.checkSelf(l);
            int heroTotalPower;
            LuaObject.checkType(l, 2, out heroTotalPower);
            businessCardStatisticalData.HeroTotalPower = heroTotalPower;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }