com.alicizax.unity.network/Runtime/Network/INetworkManager.cs

14 lines
405 B
C#
Raw Normal View History

2025-02-24 17:35:48 +08:00
using AlicizaX.Runtime;
using Cysharp.Threading.Tasks;
using Fantasy.Network;
namespace AlicizaX.Network.Runtime
{
public interface INetworkManager : IModule
{
2025-03-18 19:41:26 +08:00
void SetHeartInterval(int heartInterval);
2025-02-24 17:35:48 +08:00
UniTask Initialize(params System.Reflection.Assembly[] assemblies);
void Connect(string remoteAddress, NetworkProtocolType networkProtocolType, bool isHttps);
}
}