當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。