Files
5.24BuYu/Assets/MyGame/Scripts/Net/WebSocketResponseBase.cs
T

30 lines
565 B
C#
Raw Normal View History

2026-02-03 11:35:19 +08:00
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;
}
}