예제 #1
0
        public static GameClient GetLocalClient()
        {
            LocalClient serverClient = new LocalClient(_handlers);
            GameClient  client       = new LocalClient(serverClient);

            AddClient(serverClient);
            return(client);
        }
예제 #2
0
 public LocalClient(LocalClient pair)
 {
     _pair      = pair;
     pair._pair = this;
 }
예제 #3
0
 public override void Close()
 {
     _pair = null;
 }