mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-21 19:49:34 +08:00
20 lines
667 B
C#
20 lines
667 B
C#
using Milimoe.FunGame.Core.Entity;
|
|
using Milimoe.FunGame.Core.Library.Common.Network;
|
|
using Milimoe.FunGame.Core.Library.Constant;
|
|
|
|
namespace Milimoe.FunGame.Core.Interface.Base
|
|
{
|
|
public interface IServerModel
|
|
{
|
|
public abstract bool Running { get; }
|
|
public abstract ClientSocket? Socket { get; }
|
|
public abstract Task? Task { get; }
|
|
public abstract User? User { get; }
|
|
public abstract string ClientName { get; }
|
|
|
|
public abstract bool Read(ClientSocket socket);
|
|
public abstract bool Send(ClientSocket socket, SocketMessageType type, params object[] objs);
|
|
public abstract void Start();
|
|
}
|
|
}
|