You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
853 B
32 lines
853 B
3 years ago
|
using System;
|
||
|
using System.Collections.Concurrent;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Net;
|
||
|
|
||
|
namespace ET
|
||
|
{
|
||
|
public struct ProcessActorId
|
||
|
{
|
||
|
public int Process;
|
||
|
public long ActorId;
|
||
|
|
||
|
public ProcessActorId(long actorId)
|
||
|
{
|
||
|
InstanceIdStruct instanceIdStruct = new InstanceIdStruct(actorId);
|
||
|
this.Process = instanceIdStruct.Process;
|
||
|
instanceIdStruct.Process = Game.Options.Process;
|
||
|
this.ActorId = instanceIdStruct.ToLong();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
[ComponentOf(typeof(Scene))]
|
||
|
[ChildType(typeof(Session))]
|
||
|
public class NetInnerComponent: Entity, IAwake<IPEndPoint, int>, IAwake<int>, IDestroy
|
||
|
{
|
||
|
public AService Service;
|
||
|
|
||
|
public static NetInnerComponent Instance;
|
||
|
|
||
|
public int SessionStreamDispatcherType { get; set; }
|
||
|
}
|
||
|
}
|