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


C# Runebook.AddEntry方法代碼示例

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


在下文中一共展示了Runebook.AddEntry方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: CreateStarterRunebook

        private static Item CreateStarterRunebook()
        {
            Runebook book = new Runebook();
            book.CurCharges = book.MaxCharges = 20;

            book.AddEntry( CreateRunebookEntry( "New Haven Bank", new Point3D( 3487, 2572, 21 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Britain Bank", new Point3D( 1428, 1693, 0 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Luna Bank", new Point3D( 983, 515, -50 ), Map.Malas ) );
            book.AddEntry( CreateRunebookEntry( "Umbra Bank", new Point3D( 2045, 1342, -85 ), Map.Malas ) );
            book.AddEntry( CreateRunebookEntry( "Change Tokuno Arties", new Point3D( 678, 1275, 48 ), Map.Tokuno ) );
            book.AddEntry( CreateRunebookEntry( "Taming: Trinsic Area", new Point3D( 2103, 2794, 5 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Taming: Bulls Delucia", new Point3D( 5208, 3952, 37 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Minoc Mines", new Point3D( 2558, 503, 0 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Easy: Old Haven", new Point3D( 3637, 2499, 0 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Easy: New Haven Mine", new Point3D( 3511, 2778, 27 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Medium: Red Solen Hive", new Point3D( 2611, 762, 0 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Medium: Black Solen Hive", new Point3D( 1458, 988, 0 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Medium: Covetous", new Point3D( 2499, 918, 0 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Medium: Britain Graveyard", new Point3D( 1385, 1496, 10 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Hard: Hythloth", new Point3D( 4722, 3823, 0 ), Map.Trammel ) );
            book.AddEntry( CreateRunebookEntry( "Stygian Abyss: Underworld", new Point3D( 4194, 3268, 0 ), Map.Trammel ) );

            return book;
        }
開發者ID:Ravenwolfe,項目名稱:xrunuo,代碼行數:24,代碼來源:StarterKitToken.cs


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