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


C# GenericWriter.WriteEncodedInt方法代码示例

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


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

示例1: Serialize

		public void Serialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( (int) 0 ); // version

			Faction.WriteReference( writer, m_Faction );
			writer.WriteEncodedInt( (int) m_Type );
		}
开发者ID:Godkong,项目名称:RunUO,代码行数:7,代码来源:Orders.cs

示例2: Serialize

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.Write( (byte) 0 ); // version
			writer.WriteEncodedInt( (int) m_LabelNumber );
		}
开发者ID:greeduomacro,项目名称:last-wish,代码行数:7,代码来源:Static.cs

示例3: Serialize

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 1 ); // version
			writer.Write( m_East );
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:7,代码来源:SuitOfGoldArmor.cs

示例4: Serialize

		internal void Serialize(GenericWriter writer)
		{
			writer.WriteEncodedInt(0); // version

			writer.Write((TimeSpan)m_DuelTime);
			writer.WriteMobileList<Mobile>(m_AgainstList);
		}
开发者ID:greeduomacro,项目名称:last-wish,代码行数:7,代码来源:DuelInfo.cs

示例5: Serialize

        public override void Serialize(GenericWriter writer) // Default Serialize method
        {
            base.Serialize(writer);

            writer.Write(0); // version
            writer.WriteEncodedInt(m_Guild);
        }
开发者ID:FreeReign,项目名称:imaginenation,代码行数:7,代码来源:GuildDoor.cs

示例6: Serialize

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( 0 );
			writer.Write( m_Sound );
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:7,代码来源:BellsOfCourage.cs

示例7: Serialize

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( (int) 0 ); // version

			writer.WriteEncodedInt( (int) m_Level );
		}
开发者ID:greeduomacro,项目名称:last-wish,代码行数:8,代码来源:TapestryOfSosaria.cs

示例8: Serialize

        public void Serialize(GenericWriter writer)
        {
            writer.WriteEncodedInt((int)0);

            writer.WriteEncodedInt((int)m_Skill);
            writer.WriteEncodedInt((int)m_SkillValue);
            writer.WriteEncodedInt((int)m_Price);
        }
开发者ID:ITLongwell,项目名称:aedilis2server,代码行数:8,代码来源:PowerScrollAccBookEntry.cs

示例9: Serialize

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.Write( (int) 0 ); // version

			writer.WriteEncodedInt( (int)TreasuresOfTokuno.RewardEra );
			writer.WriteEncodedInt( (int)TreasuresOfTokuno.DropEra );
		}
开发者ID:nathanvy,项目名称:runuo,代码行数:9,代码来源:TreasuresOfTokunoPersistance.cs

示例10: Serialize

        public void Serialize(GenericWriter writer)
        {
            writer.WriteEncodedInt(0); // version

            writer.Write(this.m_ItemType == null ? null : this.m_ItemType.FullName);

            writer.WriteEncodedInt((int)this.m_AmountCur);
            writer.WriteEncodedInt((int)this.m_Number);
            writer.WriteEncodedInt((int)this.m_Graphic);
        }
开发者ID:Tukaramdas,项目名称:ServUO-EC-Test-Fork,代码行数:10,代码来源:BOBLargeSubEntry.cs

示例11: BaseSerialize

		public virtual void BaseSerialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( 1 ); // version

			writer.Write( m_HasBeenRead );
			writer.WriteEncodedInt( m_CurProgress );
			writer.Write( m_HasCompleted );

			ChildSerialize( writer );
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:10,代码来源:QuestObjective.cs

示例12: Serialize

		public void Serialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( 0 ); // version

			writer.Write( m_Type == null ? null : m_Type.FullName );

			writer.WriteEncodedInt( (int) m_AmountCur );
			writer.Write( (string) m_AnimalName );
			writer.WriteEncodedInt( (int) m_Graphic );
		}
开发者ID:greeduomacro,项目名称:cov-shard-svn-1,代码行数:10,代码来源:TamingBOBLargeSubEntry.cs

示例13: Serialize

		public void Serialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( 0 ); // version

			writer.WriteEncodedInt( (int) m_AmountMax );
			writer.WriteEncodedInt( (int) m_Price );

			writer.WriteEncodedInt( (int) m_Entries.Length );

			for ( int i = 0; i < m_Entries.Length; ++i )
				m_Entries[i].Serialize( writer );
		}
开发者ID:greeduomacro,项目名称:cov-shard-svn-1,代码行数:12,代码来源:TamingBOBLargeEntry.cs

示例14: Serialize

        public void Serialize( GenericWriter writer )
        {
            if ( IsDefault )
            {
                writer.WriteEncodedInt( 0 ); // version
            }
            else
            {
                writer.WriteEncodedInt( 1 ); // version

                writer.WriteEncodedInt( m_Type );
                writer.WriteEncodedInt( m_Quantity );
            }
        }
开发者ID:evildude807,项目名称:kaltar,代码行数:14,代码来源:TamingBOBFilter.cs

示例15: Serialize

		public void Serialize( GenericWriter writer )
		{
			writer.WriteEncodedInt( (int) 0 );

			writer.Write( (Item) m_Item );
			writer.Write( (DateTime) m_Expiration );
		}
开发者ID:ITLongwell,项目名称:aedilis2server,代码行数:7,代码来源:FactionItem.cs


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