Esempio n. 1
0
        public void ServerInput(Snapshot snapshot)
        {
            if (!ServerMgr.Active)
            {
                return;
            }

            ServerMgr.Input(this.fd, snapshot, true);
        }
Esempio n. 2
0
        public void Input(Snapshot snapshot)
        {
            this.RunEvent(snapshot);

            if (!ServerMgr.Active)
            {
                ClientMgr.Input(snapshot);
            }
            else
            {
                ServerMgr.Input(this.fd, snapshot, false);
            }
        }