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


C# GenericWriter类代码示例

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


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

示例1: 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

示例2: Serialize

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

            writer.Write((int)0);
            writer.Write(this.m_Board);
        }
开发者ID:zerodowned,项目名称:JustUO-merged-with-EC-Support,代码行数:7,代码来源:BasePiece.cs

示例3: Serialize

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

			writer.Write( (int) 0 );
			writer.Write( com );
		}
开发者ID:greeduomacro,项目名称:last-wish,代码行数:7,代码来源:CommandBalls.cs

示例4: Serialize

        }// powder of fortifying
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write((int)0);
            writer.Write((int)this.m_UsesRemaining);
        }
开发者ID:Crome696,项目名称:ServUO,代码行数:8,代码来源:PowderOfTemperament.cs

示例5: Serialize

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

            writer.Write(0); // version

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

示例6: Serialize

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

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

         writer.Write( (int) Slot1Graphic );
         writer.Write( (int) Slot2Graphic );
         writer.Write( (int) Slot3Graphic );

         writer.Write( (int) Slot1_x );
         writer.Write( (int) Slot1_y );
         writer.Write( (int) Slot2_x );
         writer.Write( (int) Slot2_y );
         writer.Write( (int) Slot3_x );
         writer.Write( (int) Slot3_y );
         writer.Write( (int) Prize1WinTotal );
         writer.Write( (int) Prize2WinTotal );
         writer.Write( (int) Prize3WinTotal );
         writer.Write( (int) Prize4WinTotal );
         writer.Write( (int) Prize5WinTotal );
         writer.Write( (int) Prize6WinTotal );
         writer.Write( (int) Prize7WinTotal );
         writer.Write( (int) Prize8WinTotal );
      }
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:25,代码来源:SlotMachine.cs

示例7: Serialize

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.Write( (int) 0 ); // version
			
			writer.Write( (bool) isactive );
		}
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:7,代码来源:Charm.cs

示例8: Serialize

 public override void Serialize(GenericWriter writer)
 {
     base.Serialize(writer);
     writer.Write(0);
     writer.Write(_Hatch);
     writer.Write(_CanHatch);
 }
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:7,代码来源:DragonEgg.cs

示例9: Serialize

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.Write( (int) 0 );
			writer.Write( (int) m_Skill1 );
			writer.Write( (int) m_Skill2 );
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:7,代码来源:MondainHat.cs

示例10: 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

示例11: Serialize

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

			int version = writer.SetVersion(0);

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

示例12: 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

示例13: Serialize

public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
writer.Write( m_Placer );
writer.Write( m_Value );
}
开发者ID:greeduomacro,项目名称:dragonknights-uo,代码行数:7,代码来源:YardItem.cs

示例14: Write

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

            writer.Write(0);//version
            CustomSaving.SerializeStringList(Components, writer);
        }
开发者ID:kamronbatman,项目名称:Defiance-AOS-Pre-2012,代码行数:7,代码来源:FileBasedBuilding.cs

示例15: 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


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