//---------------------------------------------------------------------------- protected override void OnStateBegin(object[] parameter) { base.OnStateBegin(parameter); FileSystem.Instance().SetCountFrame(FileSystem.MaxCountPerFramInCity); sPVMParamInfo sInfo = (sPVMParamInfo)parameter[0]; if (!ReferenceEquals(sInfo, null)) { sInfo.strName = "LobbyScene"; WorldManager.Instance().SetSwitchSceneParam(ref sInfo); } }
//---------------------------------------------------------------------------- private void OnGoToLobby() { sPVMParamInfo sInfo = sPVMParamInfo.Clear; sInfo.nGroupTempID = 1; sInfo.nCopyTempID = 11; sInfo.nStageTempID = 111; sInfo.nStageIndex = 0; sInfo.strName = ""; CheckLoadingType(GameStateType.GST_Lobby); WorldManager.Instance().ProMsgToState((int)MsgID.MSG_MSG_GOTOLOBBY, new object[] { sInfo, false }); }
//---------------------------------------------------------------------------- public void SetSwitchSceneParam(ref sPVMParamInfo Info, bool bIsJumpPoint = false) { m_NextCityParam = Info; m_bCanSwitchScene = true; m_bisJumpPoint = bIsJumpPoint; }