JacobTech
d8fbf281d0
I moved the two server types to their own classes to prevent API calls to a server, not of that type.
15 lines
386 B
C#
15 lines
386 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Luski.net.Structures;
|
|
using Luski.net.Structures.Main;
|
|
|
|
namespace Luski.net;
|
|
|
|
public partial class MainServer
|
|
{
|
|
public event Func<MainSocketMessage, Task>? MessageReceived;
|
|
|
|
public event Func<MainSocketRemoteUser, Task>? ReceivedFriendRequest;
|
|
|
|
public event Func<MainSocketRemoteUser, bool, Task>? FriendRequestResult;
|
|
} |