From 7c8d404eb51c91d0c72d5381cd3414092ff5f726 Mon Sep 17 00:00:00 2001 From: milimoe Date: Mon, 5 Jan 2026 01:31:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9C=B0=E5=9B=BE=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=8C=96=E6=A8=A1=E6=8B=9F=E5=92=8C=E6=96=B0=E6=8A=80?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/Main.cs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Library/Main.cs b/Library/Main.cs index ff43cf7..f87fd38 100644 --- a/Library/Main.cs +++ b/Library/Main.cs @@ -1,7 +1,8 @@ using Microsoft.Extensions.Logging; using Milimoe.FunGame.Core.Api.Utility; using Milimoe.FunGame.Core.Entity; -using Milimoe.FunGame.Testing.Tests; +using Milimoe.FunGame.Core.Model; +using Oshima.FunGame.OshimaMaps; using Oshima.FunGame.OshimaModules; using Oshima.FunGame.OshimaModules.Models; using Oshima.FunGame.OshimaServers.Service; @@ -32,10 +33,13 @@ FunGameController controller = new(new Logger(new LoggerFacto //await CharacterTest.CharacterTest2(); -ActivityTest.Test3(); +//ActivityTest.Test3(); //await ActivityTest.Test(); +GamingQueue queue = new(); +queue.LoadGameMap(new FastAutoMap()); + //foreach (Item i in FunGameConstant.Equipment) //{ // Console.WriteLine(i.ToString(true, false)); @@ -43,6 +47,7 @@ ActivityTest.Test3(); foreach (Skill s in FunGameConstant.Skills) { + s.GamingQueue = queue; s.Level = 6; Console.WriteLine(s.GetInfo()); } @@ -90,13 +95,13 @@ Console.ReadKey(); while (true) { - await FunGameSimulation.StartSimulationGame(true, false, true, false, useStore: false); + await FunGameSimulation.StartSimulationGame(true, false, true, false, useStore: false, hasMap: true); ConsoleKeyInfo key = Console.ReadKey(); if (key.Key == ConsoleKey.Escape) { break; } - await FunGameSimulation.StartSimulationGame(true, false, false, false); + await FunGameSimulation.StartSimulationGame(true, false, false, false, hasMap: true); key = Console.ReadKey(); if (key.Key == ConsoleKey.Escape) {