17 lines
407 B
C#
17 lines
407 B
C#
using System.Net;
|
|
using System.Net.Sockets;
|
|
|
|
namespace ET
|
|
{
|
|
public struct NetComponentOnRead
|
|
{
|
|
public Session Session;
|
|
public object Message;
|
|
}
|
|
|
|
[ComponentOf(typeof(Scene))]
|
|
public class NetComponent: Entity, IAwake<IPEndPoint, NetworkProtocol>, IAwake<AddressFamily, NetworkProtocol>, IDestroy, IUpdate
|
|
{
|
|
public AService AService { get; set; }
|
|
}
|
|
} |