fix: improve minigame reconnect flow
This commit is contained in:
@@ -31,7 +31,7 @@ namespace XWorld.Server.Gateway
|
||||
public string WsBaseUrl { get; private set; } // 例如 ws://127.0.0.1:54321
|
||||
public int DevDiscoveryPort => _discovery?.Port ?? 0;
|
||||
|
||||
public async Task StartAsync(string gamesRoot, int tickIntervalMs, long reconnectWindowTicks = 100,
|
||||
public async Task StartAsync(string gamesRoot, int tickIntervalMs, long reconnectWindowTicks = ServerLoop.DefaultReconnectWindowTicks,
|
||||
long matchTimeoutTicks = 150, float? logicalDt = null, string publicKeyPem = null, int listenPort = 0,
|
||||
bool bindAllInterfaces = false,
|
||||
string devDiscoveryToken = null, string advertiseGatewayUrl = null, string advertiseResourceBaseUrl = null,
|
||||
|
||||
Reference in New Issue
Block a user