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


C# Server.Serial類代碼示例

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


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

示例1: BaseRangedModule

 public BaseRangedModule( Serial serial  )
     : base(serial)
 {
     HasBowString = true;
     StringStrengthSelection = StringStrength.VeryWeak;
     PullWeightSelection = PoundsPerPull.Fourty;
 }
開發者ID:evildude807,項目名稱:kaltar,代碼行數:7,代碼來源:BaseRangedModule.cs

示例2: ScavengerBasket

 public ScavengerBasket( Serial serial )
     : base(serial)
 {
     //No need for the conditional since we KNOW the List isn't persisted across restarts.
     //if(!ScavengerSignup.ScavengerBaskets.Contains(this))
     ScavengerSignup.ScavengerBaskets.Add( this );
 }
開發者ID:greeduomacro,項目名稱:divinity,代碼行數:7,代碼來源:ScavengerBasket.cs

示例3: SpiritGem

		public SpiritGem( Serial serial ) : base( serial )
		{
            //On server restart the timer is reset to 120 seconds which ensures that the item actually decays.
            //This is inaccurate but this way we don't have to save the value and restore it.
            m_TimeLeft = DELETE_AFTER_SECONDS;
            m_Timer = new DeleteTimer(this);
        }
開發者ID:kamronbatman,項目名稱:DefianceUO-Pre1.10,代碼行數:7,代碼來源:SpiritGem.cs

示例4: RogueSandals

		public RogueSandals( Serial serial ) : base( serial ) 
		{ 
			DefineMods();
			
			if ( Parent != null && this.Parent is Mobile ) 
				SetMods( (Mobile)Parent );
		} 
開發者ID:greeduomacro,項目名稱:unknown-shard-1,代碼行數:7,代碼來源:roguesandals.cs

示例5: CastCommandsModule

        public CastCommandsModule(Serial serial, string castCommand, CastInfo info)
            : base(serial)
        {
            m_CastCommands = new Dictionary<string, CastInfo>();

            Add(castCommand, info);
        }
開發者ID:evildude807,項目名稱:kaltar,代碼行數:7,代碼來源:CastCommandsModule.cs

示例6: IconsModule

        public IconsModule(Serial serial, IconInfo info)
            : base(serial)
        {
            //m_Icons = new Hashtable();
            m_Icons = new Dictionary<Type, IconInfo>();

            Add(info);
        }
開發者ID:evildude807,項目名稱:kaltar,代碼行數:8,代碼來源:IconsModule.cs

示例7: greencarrot

      public greencarrot( Serial serial ) : base( serial ) 
      { 
      /*} 

      public override Item Dupe( int amount ) 
      { 
         return base.Dupe( new greencarrot( amount ), amount );*/ 
      } 
開發者ID:greeduomacro,項目名稱:cov-shard-svn-1,代碼行數:8,代碼來源:greencarrot.cs

示例8: DiamondHoopEarrings

      public DiamondHoopEarrings( Serial serial ) : base( serial ) 
      { 
      /*} 

      public override Item Dupe( int amount ) 
      { 
         return base.Dupe( new DiamondHoopEarrings( amount ), amount );*/ 
      } 
開發者ID:greeduomacro,項目名稱:cov-shard-svn-1,代碼行數:8,代碼來源:DiamondHoopEarrings.cs

示例9: ArrianasClips

      public ArrianasClips( Serial serial ) : base( serial ) 
      { 
      /*} 

      public override Item Dupe( int amount ) 
      { 
         return base.Dupe( new ArrianasClips( amount ), amount );*/ 
      } 
開發者ID:greeduomacro,項目名稱:cov-shard-svn-1,代碼行數:8,代碼來源:ArrianasClips.cs

示例10: GoldenMandrakeRoot

		public GoldenMandrakeRoot( Serial serial ) : base( serial )
		{
		/*}

		public override Item Dupe( int amount )
		{
			return base.Dupe( new GoldenMandrakeRoot( amount ), amount );*/
		}
開發者ID:greeduomacro,項目名稱:cov-shard-svn-1,代碼行數:8,代碼來源:Golden+Mandrake+Root.cs

示例11: goldenegg

      public goldenegg( Serial serial ) : base( serial ) 
      { 
      /*} 

      public override Item Dupe( int amount ) 
      { 
         return base.Dupe( new goldenegg( amount ), amount );*/ 
      } 
開發者ID:greeduomacro,項目名稱:cov-shard-svn-1,代碼行數:8,代碼來源:goldenegg.cs

示例12: FireSilk

		public FireSilk( Serial serial ) : base( serial )
		{
		/*}

		public override Item Dupe( int amount )
		{
			return base.Dupe( new FireSilk( amount ), amount );*/
		}
開發者ID:greeduomacro,項目名稱:cov-shard-svn-1,代碼行數:8,代碼來源:Fire+Spiders+Silk.cs

示例13: GroupDungeonTeleporter

        public GroupDungeonTeleporter(Serial serial) : base(serial)
		{
            Name = "an instance zone-in teleporter";
            Hue = 1157;
            Visible = true;
            base.MapDest = this.Map;
            base.PointDest = this.Location;
		}
開發者ID:greeduomacro,項目名稱:unknown-shard-1,代碼行數:8,代碼來源:GroupDungeonTelporters.cs

示例14: MarketEntry

		public MarketEntry( Mobile seller )
		{
			_active = true;
			_category = Category.Misc;
			_cost = 0;
			_description = "";
			_objectSerial = Serial.MinusOne;
			_seller = seller;
			_tableId = -1;
		}
開發者ID:greeduomacro,項目名稱:hubroot,代碼行數:10,代碼來源:MarketEntry.cs

示例15: Module

		public Module( Serial ser )
		{
			m_Owner = ser;

			Type type = this.GetType();
			m_TypeRef = CentralMemory.m_Types.IndexOf( type );

			if( m_TypeRef == -1 )
				m_TypeRef = CentralMemory.m_Types.Add( type );
		}
開發者ID:greeduomacro,項目名稱:cov-shard-svn-1,代碼行數:10,代碼來源:Module.cs


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