Ejemplo n.º 1
0
        // Token: 0x06006C2A RID: 27690 RVA: 0x001E4F34 File Offset: 0x001E3134
        public void SetDefensiveTeam(ProArenaPlayerDefensiveTeam pbDefensiveTeamInfo)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetDefensiveTeamProArenaPlayerDefensiveTeam_hotfix != null)
            {
                this.m_SetDefensiveTeamProArenaPlayerDefensiveTeam_hotfix.call(new object[]
                {
                    this,
                    pbDefensiveTeamInfo
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            ArenaPlayerDefensiveTeam defensiveTeam = ArenaPlayerDefensiveTeam.PBArenaDefensiveTeamToArenaDefensiveTeam(pbDefensiveTeamInfo);

            this.m_arenaDS.SetDefensiveTeam(defensiveTeam);
        }
    public static int PBArenaDefensiveTeamToArenaDefensiveTeam_s(IntPtr l)
    {
        int result;

        try
        {
            ProArenaPlayerDefensiveTeam pbDefensiveTeam;
            LuaObject.checkType <ProArenaPlayerDefensiveTeam>(l, 1, out pbDefensiveTeam);
            ArenaPlayerDefensiveTeam o = ArenaPlayerDefensiveTeam.PBArenaDefensiveTeamToArenaDefensiveTeam(pbDefensiveTeam);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }