| | |
| | | {
|
| | | if (!oldInTeam && myTeam.inTeam)
|
| | | {
|
| | | if (!WindowCenter.Instance.CheckOpen("NewBieWin") && !WindowCenter.Instance.CheckOpen("TreasureNewGotWin"))
|
| | | if (!WindowCenter.Instance.IsOpen("NewBieWin") && !WindowCenter.Instance.IsOpen("TreasureNewGotWin"))
|
| | | {
|
| | | if (!WindowCenter.Instance.CheckOpen("MyTeamWin"))
|
| | | if (!WindowCenter.Instance.IsOpen("MyTeamWin"))
|
| | | {
|
| | | WindowCenter.Instance.Open<TeamFrameWin>(false, 1);
|
| | | }
|
| | |
| | | {
|
| | | if (teamPrepare.OnlyCaptainerPrepared(mate.id))
|
| | | {
|
| | | if (!WindowCenter.Instance.CheckOpen<TeamPrepareWin>())
|
| | | if (!WindowCenter.Instance.IsOpen<TeamPrepareWin>())
|
| | | {
|
| | | prepareBeginTime = DateTime.Now;
|
| | | WindowCenter.Instance.Open<TeamPrepareWin>();
|