mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Add Feature pt2
This commit is contained in:
parent
092534e331
commit
67275262fb
36 changed files with 1555 additions and 296 deletions
|
@ -18,6 +18,7 @@ using HISP.Game.SwfModules;
|
|||
using HISP.Game.Horse;
|
||||
using HISP.Game.Events;
|
||||
using HISP.Game.Items;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace HISP.Server
|
||||
{
|
||||
|
@ -8251,6 +8252,20 @@ namespace HISP.Server
|
|||
}
|
||||
return true;
|
||||
}
|
||||
public static void OnShutdown()
|
||||
{
|
||||
ServerSocket.Dispose();
|
||||
gameTimer.Dispose();
|
||||
minuteTimer.Dispose();
|
||||
}
|
||||
public static void ShutdownServer()
|
||||
{
|
||||
GameClient.OnShutdown();
|
||||
GameServer.OnShutdown();
|
||||
Database.OnShutdown();
|
||||
Entry.OnShutdown();
|
||||
}
|
||||
|
||||
public static void StartServer()
|
||||
{
|
||||
ServerSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue