Esempio n. 1
0
 public FakeClient()
 {
     _roomMsgMgr = AddComponent <RoomMsgManager>();
     _roomMsgMgr.Init(new DebugGameMsgHandler(_roomMsgMgr));
     _loginMgr = AddComponent <LoginManager>();
     _loginMgr.Init(_roomMsgMgr, new DebugLoginHandler(_loginMgr)
     {
         RandomSeed = _RandomSeed
     }, "127.0.0.1", 7250);
 }
 public DebugGameMsgHandler(RoomMsgManager rmm)
 {
     _roomMsgManager = rmm;
 }