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


C# GenericWriter.Write方法代码示例

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


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

示例1: Serialize

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

            writer.Write(m_IsShipwreckedItem);
        }
开发者ID:FreeReign,项目名称:imaginenation,代码行数:7,代码来源:Candelabra.cs

示例2: Serialize

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

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

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

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

示例5: Serialize

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.Write( (int) 1 ); // version

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

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

示例7: Serialize

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

            writer.Write((int)1); // version
            writer.Write(m_IsBarnacleItem);
        }
开发者ID:Crome696,项目名称:ServUO,代码行数:7,代码来源:ShipwreckedItem.cs

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

示例9: Serialize

 public void Serialize(GenericWriter writer)
 {
     writer.Write(0);//version
     writer.Write(Map);
     writer.Write(Location);
     writer.Write(Name);
 }
开发者ID:kamronbatman,项目名称:Defiance-AOS-Pre-2012,代码行数:7,代码来源:SunnyToolbar.cs

示例10: Serialize

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

			writer.Write( (int) 0 ); // version
			writer.Write( (int) m_Resource );
		}
开发者ID:ITLongwell,项目名称:aedilis2server,代码行数:7,代码来源:BaseRunicTool.cs

示例11: Serialize

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

            writer.Write(m_Owner);
        }
开发者ID:FreeReign,项目名称:imaginenation,代码行数:7,代码来源:RewardDyeTub.cs

示例12: Serialize

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

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

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

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

示例15: Save

		public void Save( GenericWriter writer )
		{
			writer.Write( 0 ); // version

			writer.Write( m_First );
			writer.Write( m_Second );
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:7,代码来源:MahjongDices.cs


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