當前位置: 首頁>>代碼示例>>C#>>正文


C# Server.GenericWriter類代碼示例

本文整理匯總了C#中Server.GenericWriter的典型用法代碼示例。如果您正苦於以下問題:C# GenericWriter類的具體用法?C# GenericWriter怎麽用?C# GenericWriter使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


GenericWriter類屬於Server命名空間,在下文中一共展示了GenericWriter類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

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

示例2: Serialize

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

			writer.WriteEncodedInt( (int) 0 );
			writer.Write( m_Points );
		}
開發者ID:kamronbatman,項目名稱:DefianceUO-Pre1.10,代碼行數:7,代碼來源:TenderEvoMeat.cs

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

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

示例5: Serialize

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

            writer.Write((int)0);
            // version 0
        }
開發者ID:jamison654321,項目名稱:xmlspawner,代碼行數:7,代碼來源:CustomParagon.cs

示例6: Serialize

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

			writer.Write( (int) 1 ); // version
			writer.Write( m_AllowCombat );
		}
開發者ID:kamronbatman,項目名稱:DefianceUO-Pre1.10,代碼行數:7,代碼來源:PublicMoongate.cs

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

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

示例9: Serialize

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

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

			writer.Write(m_WallCoordinates.Count);
			for (int i = 0; i < m_WallCoordinates.Count; i++)
				writer.Write((Point3D)m_WallCoordinates[i]);

			writer.Write(m_StartLocations.Count);
			for (int i = 0; i < m_StartLocations.Count; i++)
				writer.Write((Point3D)m_StartLocations[i]);

			writer.Write(m_GameTime);
			writer.Write((Item)m_RegionControl);
			writer.Write(m_ExitLosers);
			writer.Write(m_LinkBombs);
			writer.Write(m_ChanceForUpgrade);
			writer.Write(m_DanageWhileFS);
			writer.Write(m_WriteScoreboard);

			writer.Write(m_ExitWinner);
			writer.Write(m_ExitOnDraw);
			writer.Write(m_AutoStart);
			writer.Write(m_KeepOpenJoin);
		}
開發者ID:kamronbatman,項目名稱:DefianceUO-Pre1.10,代碼行數:27,代碼來源:BomberManGame.cs

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

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

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

示例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)
		{
			writer.WriteVersion(0);

			// Version 0
			writer.Write(_Enabled);
		}
開發者ID:Crome696,項目名稱:ServUO,代碼行數:7,代碼來源:BaseCore.cs

示例15: Serialize

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

			writer.Write( m_IsShipwreckedItem );
		}
開發者ID:jsrn,項目名稱:MidnightWatchServer,代碼行數:7,代碼來源:Candelabra.cs


注:本文中的Server.GenericWriter類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。