public FrameSendSystem(Contexts ctxs)
    {
        gameCtx    = ctxs.game;
        networkCtx = ctxs.network;

        syncedEntities        = gameCtx.GetGroup(GameMatcher.FrameSync);
        serverConnectionGroup = networkCtx.GetGroup(NetworkMatcher.ServerConnection);
    }
Ejemplo n.º 2
0
    public ServerStartConnectionSystem(Contexts ctxs) : base(ctxs.network)
    {
        serverConnectionGroup = ctxs.network.GetGroup(NetworkMatcher.ServerConnection);

        ctx = Contexts.sharedInstance.network;

        connInfoGroup = ctx.GetGroup(NetworkMatcher.ServerConnectionInfo);
    }
 public PingTestSystem(Contexts ctxs)
 {
     ctx        = ctxs.network;
     groupPings = ctx.GetGroup(NetworkMatcher.PingTest);
 }
Ejemplo n.º 4
0
 public ServerConnectionSystem(Contexts ctxs)
 {
     ctx             = ctxs.network;
     serverConnGroup = ctx.GetGroup(NetworkMatcher.ServerConnection);
     packetGroup     = ctx.GetGroup(NetworkMatcher.RecvPacket);
 }