Set max packet size to 10mb, and also send client info on connect
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
[Serializable]
|
||||
public class ConnectedWithCurrentSceneMessage
|
||||
{
|
||||
public string type = "connected_with_current_scene";
|
||||
public string sceneName;
|
||||
public string Requester = "BerryDashClient";
|
||||
public string ClientVersion = Application.version;
|
||||
public string ClientPlatform = Application.platform.ToString();
|
||||
public long timestamp = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
||||
}
|
||||
Reference in New Issue
Block a user