-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathGame.cs
39 lines (26 loc) · 780 Bytes
/
Game.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System.Numerics;
using System.Threading.Tasks;
using Client.Authentication;
using Client.Chat;
using Client.UI;
using Client.World.Network;
namespace Client
{
public interface IGame
{
BigInteger Key { get; }
string Username { get; }
IGameUI UI { get; }
GameWorld World { get; }
void ConnectTo(WorldServerInfo server);
void Start();
void Reconnect();
void NoCharactersFound();
void InvalidCredentials();
Task Exit();
void SendPacket(OutPacket packet);
void PresentChatMessage(ChatMessage message);
void HandleTriggerInput(TriggerActionType type, params object[] inputs);
//void Log(string message, LogLevel level = LogLevel.Info);
}
}