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


C# Items.Aquarium類代碼示例

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


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

示例1: AquariumGump

        public AquariumGump(Aquarium aquarium, bool edit) : base(100, 100)
        {
            m_Aquarium = aquarium;

            Closable = true;
            Disposable = true;
            Dragable = true;
            Resizable = false;

            AddPage(0);
            AddBackground(0, 0, 350, 323, 0xE10);
            AddImage(0, 0, 0x2C96);

            if (m_Aquarium.Items.Count == 0)
                return;

            for (int i = 1; i <= m_Aquarium.Items.Count; i ++)
                DisplayPage(i, edit);
        }
開發者ID:greeduomacro,項目名稱:UO-Forever,代碼行數:19,代碼來源:AquariumGump.cs

示例2: GMAddWater

 public GMAddWater(Aquarium aquarium)
     : base(6232, -1)// GM Add Water
 {
     this.m_Aquarium = aquarium;
 }
開發者ID:m309,項目名稱:ForkUO,代碼行數:5,代碼來源:Aquarium.cs

示例3: GMAddFood

 public GMAddFood(Aquarium aquarium)
     : base(6231, -1)// GM Add Food
 {
     this.m_Aquarium = aquarium;
 }
開發者ID:m309,項目名稱:ForkUO,代碼行數:5,代碼來源:Aquarium.cs

示例4: CancelVacationMode

 public CancelVacationMode(Aquarium aquarium)
     : base(6240, 2)// Cancel vacation mode
 {
     this.m_Aquarium = aquarium;
 }
開發者ID:m309,項目名稱:ForkUO,代碼行數:5,代碼來源:Aquarium.cs

示例5: ViewEventEntry

 public ViewEventEntry(Aquarium aquarium)
     : base(6239, 2)// View events
 {
     this.m_Aquarium = aquarium;
 }
開發者ID:m309,項目名稱:ForkUO,代碼行數:5,代碼來源:Aquarium.cs

示例6: CollectRewardEntry

 public CollectRewardEntry(Aquarium aquarium)
     : base(6237, 2)// Collect Reward
 {
     this.m_Aquarium = aquarium;
 }
開發者ID:m309,項目名稱:ForkUO,代碼行數:5,代碼來源:Aquarium.cs

示例7: GMAddFood

 // GM Add Food
 public GMAddFood( Aquarium aquarium )
     : base(6231, -1)
 {
     m_Aquarium = aquarium;
 }
開發者ID:AlcesAlces,項目名稱:UOsmart,代碼行數:6,代碼來源:Aquarium.cs

示例8: GMFill

 public GMFill(Aquarium aquarium)
     : base(6236, -1)// GM Fill Food and Water
 {
     this.m_Aquarium = aquarium;
 }
開發者ID:m309,項目名稱:ForkUO,代碼行數:5,代碼來源:Aquarium.cs

示例9: CancelVacationMode

 // Cancel vacation mode
 public CancelVacationMode( Aquarium aquarium )
     : base(6240, 2)
 {
     m_Aquarium = aquarium;
 }
開發者ID:AlcesAlces,項目名稱:UOsmart,代碼行數:6,代碼來源:Aquarium.cs

示例10: ViewEventEntry

 // View events
 public ViewEventEntry( Aquarium aquarium )
     : base(6239, 2)
 {
     m_Aquarium = aquarium;
 }
開發者ID:AlcesAlces,項目名稱:UOsmart,代碼行數:6,代碼來源:Aquarium.cs

示例11: GMOpen

 // GM Open Container
 public GMOpen( Aquarium aquarium )
     : base(6234, -1)
 {
     m_Aquarium = aquarium;
 }
開發者ID:AlcesAlces,項目名稱:UOsmart,代碼行數:6,代碼來源:Aquarium.cs

示例12: GMForceEvaluate

 // GM Force Evaluate
 public GMForceEvaluate( Aquarium aquarium )
     : base(6233, -1)
 {
     m_Aquarium = aquarium;
 }
開發者ID:AlcesAlces,項目名稱:UOsmart,代碼行數:6,代碼來源:Aquarium.cs

示例13: GMFill

 // GM Fill Food and Water
 public GMFill( Aquarium aquarium )
     : base(6236, -1)
 {
     m_Aquarium = aquarium;
 }
開發者ID:AlcesAlces,項目名稱:UOsmart,代碼行數:6,代碼來源:Aquarium.cs

示例14: GMAddWater

 // GM Add Water
 public GMAddWater( Aquarium aquarium )
     : base(6232, -1)
 {
     m_Aquarium = aquarium;
 }
開發者ID:AlcesAlces,項目名稱:UOsmart,代碼行數:6,代碼來源:Aquarium.cs

示例15: GMForceEvaluate

 public GMForceEvaluate(Aquarium aquarium)
     : base(6233, -1)// GM Force Evaluate
 {
     this.m_Aquarium = aquarium;
 }
開發者ID:m309,項目名稱:ForkUO,代碼行數:5,代碼來源:Aquarium.cs


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