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


C# GenericReader.GetVersion方法代码示例

本文整理汇总了C#中GenericReader.GetVersion方法的典型用法代码示例。如果您正苦于以下问题:C# GenericReader.GetVersion方法的具体用法?C# GenericReader.GetVersion怎么用?C# GenericReader.GetVersion使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在GenericReader的用法示例。


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

示例1: Deserialize

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.GetVersion();

        }
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:7,代码来源:1153HueScroll.cs

示例2: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			int version = reader.GetVersion();

		    _Owner = reader.ReadString();
            _Contribution = reader.ReadInt();

		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:10,代码来源:CrippledKingScroll.cs

示例3: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			reader.GetVersion();

			InformChampSpawnRegionMobs = reader.ReadBool();
			PowerScrollsToGive = reader.ReadInt();
			PowerScrollMinimumDistance = reader.ReadInt();
			PowerScrollRequireAlive = reader.ReadBool();
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:11,代码来源:SystemOptions.cs

示例4: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			int version = reader.GetVersion();

			switch (version)
			{
				case 0:
					break;
			}
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:12,代码来源:SystemOpts.cs

示例5: DeserializeCams

		private static void DeserializeCams(GenericReader reader)
		{
			int version = reader.GetVersion();

			switch (version)
			{
				case 0:
					{
					}
					break;
			}
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:12,代码来源:PokerPersistance_Init.cs

示例6: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			int version = reader.GetVersion();

			switch (version)
			{
				case 0:
					DefaultTitleHue = reader.ReadInt();
					break;
			}
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:13,代码来源:SystemOpts.cs

示例7: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			int version = reader.GetVersion();

			switch (version)
			{
				case 0:
					AccountAge = reader.ReadTimeSpan();
					break;
			}
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:13,代码来源:AccountAgeConquest.cs

示例8: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			int version = reader.GetVersion();

			switch (version)
			{
				case 0:
					VisitedMoonglow = reader.ReadBool();
					break;
			}
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:13,代码来源:Brewer.cs

示例9: Deserialize

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.GetVersion();

            switch (version)
            {
                case 0:
                {
                    Alignment = (Alignment) reader.ReadInt();
                }
                    break;
            }
        }
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:15,代码来源:CreatureAlignmentKillConquest.cs

示例10: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			int version = reader.GetVersion();

			switch (version)
			{
				case 0:
			    {
                    IsDuel = reader.ReadBool();
                    IsDungeon = reader.ReadBool();
			    }
					break;
			}
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:16,代码来源:PlayerDeathConquest.cs

示例11: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			int version = reader.GetVersion();

			switch (version)
			{
				case 0:
			    {
			        Spell = reader.ReadType();
						ChangeSpellReset = reader.ReadBool();
					}
					break;
			}
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:16,代码来源:SuccessfulSpellConquest.cs

示例12: Deserialize

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.GetVersion();

            switch (version)
            {
                case 0:
                {
                    IsFactionQuit = reader.ReadBool();
                    Faction = reader.ReadString();
                }
                    break;
            }
        }
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:16,代码来源:FactionStateConquest.cs

示例13: Deserialize

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.GetVersion();

            switch (version)
            {
                case 0:
                {
                    Location = reader.ReadPoint3D();
                    Map = reader.ReadMap();
                }
                    break;
            }
        }
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:16,代码来源:LocationConquest.cs

示例14: DeserializeDonationProfiles

        private static bool DeserializeDonationProfiles(GenericReader reader)
        {
            reader.GetVersion();

            reader.ReadBlockDictionary(
                () =>
                {
                    var e = reader.ReadString();

                    var p = new DonationProfile(reader);

                    return new KeyValuePair<string, DonationProfile>(e, p);
                },
                DonationProfiles);

            return true;
        }
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:17,代码来源:DonationTracker_Init.cs

示例15: Deserialize

		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);

			int version = reader.GetVersion();

            switch (version)
            {
                case 1:
                {
                    IsEthic = reader.ReadBool();
                }
                goto case 0;
                case 0:
                { }
                break;
            }
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:18,代码来源:FactionKillConquest.cs


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