public IncomingSubServerPeer(InitRequest initRequest, MasterApplication application) : base(initRequest.Protocol, initRequest.PhotonPeer) { this.application = application; __unmanagedPeer__ = initRequest.PhotonPeer; this.ServerId = null; }
public MasterClientPeer(InitRequest initRequest, MasterApplication application) : base(initRequest.Protocol, initRequest.PhotonPeer) { this.application = application; this.clientId = Utils.NewGuidInt32(); this.LoginData = null; this.WorldServer = null; this.CurrentState = ClientPeerState.Connect; this.IsSafelyDisconnected = false; this.Application.MasterLobby.OnClientConnected(this); #if MMO_DEBUG if (_logger.IsDebugEnabled) { _logger.DebugFormat("Client (Id={0}) Connected", clientId); } #endif }