当前位置: 首页>>代码示例>>C#>>正文


C# ClientEffect类代码示例

本文整理汇总了C#中ClientEffect的典型用法代码示例。如果您正苦于以下问题:C# ClientEffect类的具体用法?C# ClientEffect怎么用?C# ClientEffect使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ClientEffect类属于命名空间,在下文中一共展示了ClientEffect类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Import

        public override void Import(ClientEffect importObject, IEnumerable<FieldInfo> getters)
        {
            base.Import(importObject, getters);

            this.time = Int32.Parse(importObject.reserved[1].Trim());
            this.npc_id = Utility.ClientNpcIndex[importObject.reserved[8].Trim()];
        }
开发者ID:CeeJay79,项目名称:aion_ext,代码行数:7,代码来源:SummonEffects.cs

示例2: Import

        public override void Import(ClientEffect importObject, IEnumerable<FieldInfo> getters)
        {
            base.Import(importObject, getters);

            this.count = Int32.Parse(importObject.reserved[8].Trim());
            this.unknown1 = Int32.Parse(importObject.reserved[12].Trim());
        }
开发者ID:GiGatR00n,项目名称:AionParsers,代码行数:7,代码来源:AlwaysEffects.cs

示例3: Import

        public override void Import(ClientEffect importObject, IEnumerable<FieldInfo> getters)
        {
            base.Import(importObject, getters);

            this.value = Int32.Parse(importObject.reserved[3].Trim());
            this.delta = Int32.Parse(importObject.reserved[2].Trim());
        }
开发者ID:CeeJay79,项目名称:aion_ext,代码行数:7,代码来源:DamageEffects.cs

示例4: Import

        public override void Import(ClientEffect importObject, IEnumerable<FieldInfo> getters)
        {
            base.Import(importObject, getters);

            base.count = Int32.Parse(importObject.reserved[8].Trim());
            if (importObject.reserved[7] != null)
                this.delta = Int32.Parse(importObject.reserved[7].Trim());
        }
开发者ID:GiGatR00n,项目名称:AionParsers,代码行数:8,代码来源:DispelEffects.cs

示例5: Import

        public override void Import(ClientEffect importObject, IEnumerable<FieldInfo> getters)
        {
            base.Import(importObject, getters);
            this.range = Int32.Parse(importObject.reserved[4].Trim());

            // always true for protect effect
            base.percent = true;
        }
开发者ID:GiGatR00n,项目名称:AionParsers,代码行数:8,代码来源:ShieldEffects.cs

示例6: Import

        public override void Import(ClientEffect importObject, IEnumerable<FieldInfo> getters)
        {
            base.Import(importObject, getters);

            if (importObject.reserved[7] != null)
                this.type = (TransformType)Enum.Parse(typeof(TransformType), importObject.reserved[7].Trim(), true);

            this.model = Utility.ClientNpcIndex[importObject.reserved[8].Trim()];
        }
开发者ID:CeeJay79,项目名称:aion_ext,代码行数:9,代码来源:Other.cs

示例7: Import

        public override void Import(ClientEffect importObject, IEnumerable<FieldInfo> getters)
        {
            base.Import(importObject, getters);

            if (importObject.reserved[5] != null && importObject.reserved[5].Trim() == "1")
                this.percent = true;
            this.value = Int32.Parse(importObject.reserved[1].Trim());
            if (importObject.reserved[0] != null)
                this.delta = Int32.Parse(importObject.reserved[0].Trim());
        }
开发者ID:CeeJay79,项目名称:aion_ext,代码行数:10,代码来源:HealEffects.cs

示例8: Import

        public override void Import(ClientEffect importObject, IEnumerable<FieldInfo> getters)
        {
            base.Import(importObject, getters);

            this.count = Int32.Parse(importObject.reserved[1].Trim());

            if (importObject.reserved[0] != null)
                this.unknown1 = Int32.Parse(importObject.reserved[0].Trim());

            if (importObject.reserved[15] != null)
                this.level = Int32.Parse(importObject.reserved[15].Trim());

            if (importObject.reserved[17] != null)
                this.unknown2 = Int32.Parse(importObject.reserved[17].Trim());
        }
开发者ID:CeeJay79,项目名称:aion_ext,代码行数:15,代码来源:DispelEffects.cs


注:本文中的ClientEffect类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。