Exemple #1
0
    public static int get_RealTimePVPBattleId(IntPtr l)
    {
        int result;

        try
        {
            ClientBattle.LogDataRealTimePVPBattleStart logDataRealTimePVPBattleStart = (ClientBattle.LogDataRealTimePVPBattleStart)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, logDataRealTimePVPBattleStart.RealTimePVPBattleId);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #2
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            ClientBattle.LogDataRealTimePVPBattleStart o = new ClientBattle.LogDataRealTimePVPBattleStart();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #3
0
    public static int set_Type(IntPtr l)
    {
        int result;

        try
        {
            ClientBattle.LogDataRealTimePVPBattleStart logDataRealTimePVPBattleStart = (ClientBattle.LogDataRealTimePVPBattleStart)LuaObject.checkSelf(l);
            string type;
            LuaObject.checkType(l, 2, out type);
            logDataRealTimePVPBattleStart.Type = type;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }