コード例 #1
0
        //----------------------------------------------------------------------------
        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);
            }
        }
コード例 #2
0
        //----------------------------------------------------------------------------
        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 });
        }
コード例 #3
0
 //----------------------------------------------------------------------------
 public void SetSwitchSceneParam(ref sPVMParamInfo Info, bool bIsJumpPoint = false)
 {
     m_NextCityParam   = Info;
     m_bCanSwitchScene = true;
     m_bisJumpPoint    = bIsJumpPoint;
 }