美文网首页
遍历枚举

遍历枚举

作者: Albert_d37d | 来源:发表于2021-07-09 16:31 被阅读0次

    private InitEffectStr()

        {

            let i = 0;

            for(let el in E_Effect_Type)

            {

                let temp = parseInt(el);

                if(isNaN(temp))

                {                            

                    this.m_mapEffect.set(E_Effect_Type.Bomb + i++,el + "");

                }

            }

        }

    相关文章

      网友评论

          本文标题:遍历枚举

          本文链接:https://www.haomeiwen.com/subject/hhbfpltx.html