//设置托管的状态
 public static void SetCollocation(this FiveStarPlayer fiveStarPlayer, bool isCollocation)
 {
     if (fiveStarPlayer.IsCollocation == isCollocation)
     {
         return; //状态本来相同 就不做后续事件了
     }
     if (fiveStarPlayer.FiveStarRoom == null)
     {
         return;
     }
     //有超时才能 进入托管
     if (!fiveStarPlayer.FiveStarRoom.RoomConfig.IsHaveOverTime)
     {
         return;
     }
     if (fiveStarPlayer.FiveStarRoom.CurrRoomStateType == RoomStateType.ReadyIn)
     {
         isCollocation = false; //准备状态下 只能是 不托管状态
     }
     fiveStarPlayer.IsCollocation = isCollocation;
     if (fiveStarPlayer.IsCollocation)
     {
         fiveStarPlayer.CollocationAIOperate();
     }
     fiveStarPlayer.SendMessageUser(
         new Actor_FiveStar_CollocationChange()
     {
         IsCollocation = fiveStarPlayer.IsCollocation
     });
 }
        //延迟打漂AI打漂
        public static async void AIDelayDaPiao(this FiveStarPlayer fiveStarPlayer)
        {
            if (!fiveStarPlayer.IsAI)//不是AI直接 返回
            {
                return;
            }
            await Game.Scene.GetComponent <TimerComponent>().WaitAsync(RandomTool.Random(1, 4) * 1000);

            fiveStarPlayer.CollocationAIOperate();
        }