同步进度
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Assets.MyGame.Scripts.Net
|
||||
{
|
||||
public enum MessageType
|
||||
{
|
||||
Invocation = 1,
|
||||
StreamItem = 2,
|
||||
Completion = 3,
|
||||
StreamInvocation = 4,
|
||||
CancelInvocation = 5,
|
||||
Ping = 6,
|
||||
Close = 7
|
||||
}
|
||||
[Serializable]
|
||||
public class WebSocketResponseBase<T>
|
||||
{
|
||||
public int type;
|
||||
public int invocationId;
|
||||
public string target;
|
||||
public List<T> arguments;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user