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


C# GenericWriter.Write方法代码示例

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


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

示例1: Save

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

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

示例2: Serialize

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

示例3: Serialize

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

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

示例4: Serialize

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

            writer.Write( (int) 0 );
            writer.Write( (int) SkillBonus );
        }
开发者ID:kamronbatman,项目名称:Defiance-AOS-Pre-2012,代码行数:7,代码来源:DonationSkillBallAOS-Deprecated.cs

示例5: Serialize

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

            writer.Write( m_StrengthBonus );
        }
开发者ID:romeov007,项目名称:imagine-uo,代码行数:7,代码来源:ArcaneFocus.cs

示例6: Serialize

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.Write( 1 ); // Version
			
			writer.Write( m_IsRewardItem );
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:7,代码来源:HorseBardingSouthAddon.cs

示例7: Serialize

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

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

示例8: Serialize

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

			writer.Write( (int)1 );//version
            writer.Write(GiveEthereals);
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:7,代码来源:AutoSupply.cs

示例9: Serialize

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

            writer.Write( (int)0 );
            writer.Write( (Mobile)m_Target );
        }
开发者ID:justdanofficial,项目名称:khaeros,代码行数:7,代码来源:XmlTracking.cs

示例10: Serialize

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

            writer.Write((int)0);
            writer.Write((bool)m_IsRewardItem);
        }
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:7,代码来源:BookCoverDeed.cs

示例11: Serialize

		public void Serialize( GenericWriter writer )
		{
			writer.Write( m_Lines.Length );

			for ( int i = 0; i < m_Lines.Length; ++i )
				writer.Write( m_Lines[i] );
		}
开发者ID:brodock,项目名称:genova-project,代码行数:7,代码来源:BaseBook.cs

示例12: Serialize

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

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

示例13: Serialize

 public override void Serialize(GenericWriter writer)
 {
     base.Serialize(writer);
     writer.Write((int)0); // version
     writer.Write((PlayerMobile)m_Taken);
     writer.Write((PlayerMobile)m_From);
 }
开发者ID:nick12344356,项目名称:The-Basement,代码行数:7,代码来源:FieldHead.cs

示例14: Serialize

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

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

示例15: Serialize

 public override void Serialize(GenericWriter writer)
 {
     base.Serialize(writer);
     writer.Write((int)0);
     writer.Write(m_CaughtBy);
     writer.Write(m_DateCaught);
 }
开发者ID:Crome696,项目名称:ServUO,代码行数:7,代码来源:RareFish.cs


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