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

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

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

        try
        {
            ClientActorActGainBattleTreasure clientActorActGainBattleTreasure = (ClientActorActGainBattleTreasure)LuaObject.checkSelf(l);
            ConfigDataBattleTreasureInfo     battleTreasureInfo;
            LuaObject.checkType <ConfigDataBattleTreasureInfo>(l, 2, out battleTreasureInfo);
            clientActorActGainBattleTreasure.m_battleTreasureInfo = battleTreasureInfo;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }