/*
* SilverFoxServer: massive multiplayer game server for Flash, ...
* VERSION:3.0
* PUBLISH DATE:2015-9-2 
* GITHUB:github.com/wdmir/521266750_qq_com
* UPDATES AND DOCUMENTATION AT: http://www.silverfoxserver.net
* COPYRIGHT 2009-2015 SilverFoxServer.NET. All rights reserved.
* MAIL:521266750@qq.com
*/
using System;
using System.Collections.Generic;
using System.Text;

namespace DdzServer.net.silverfoxserver.extmodel
{
    /// <summary>
    /// ·¿¼ä×´Ì¬
    /// 
    /// wait  -> can start     -> start(jiao fen)
    /// start -> can get dizhu -> start chu pai
    /// 
    /// start chu pai -> over
    /// 
    /// </summary>
    public class RoomStatusByDdz
    {
        /// <summary>
        /// µÈ´ý¿ªÊ¼
        /// </summary>
        public static bool isWaitStart(string value)
        {
            if (value.IndexOf("wait_start") > -1)
            {
                return true;
            }

            return false;
        }

        /// <summary>
        /// µÈ´ý¿ªÊ¼
        /// </summary>
        public const String GAME_WAIT_START = "game_wait_start";

        /// <summary>
        /// ¿ÉÒÔ¿ªÊ¼
        /// </summary>
        public const String GAME_ALL_READY_WAIT_START = "game_all_ready_wait_start";

        /// <summary>
        /// Á¬ÐøÈýÂÖ¶¼²»½Ð,·¿¼äÈËÔ±È«²¿Ìß³ö
        /// </summary>
        public const string GAMEOVER_ROOMCLEAR_WAIT_START = "gameover_roomclear_wait_start";

        /// <summary>
        /// ÓÎÏ·½áÊø²¢µÈ´ý¿ªÊ¼
        /// </summary>
        public const String GAMEOVER_WAIT_START = "gameover_wait_start";

        /// <summary>
        /// 
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public static bool isStart(string value)
        {
            if (value.IndexOf("game_start") > -1)
            {
                return true;
            }

            return false;
        }


        /// <summary>
        /// ¿ªÊ¼
        /// Ã¿ÈË·¢17ÕÅÅÆ£¬²¢¿ªÊ¼½Ð·Ö
        /// </summary>
        public const String GAME_START = "game_start";

        /// <summary>
        /// ¿ªÊ¼ºóµÄµÚÒ»¸ö¹Õµã,
        /// ½áÊø½Ð·Ö£¬¾ö³öµØÖ÷
        /// </summary>
        public const string GAME_START_CAN_GET_DIZHU = "game_start_can_get_dizhu";

        /// <summary>
        /// ³öÅÆ
        /// </summary>
        public const string GAME_START_CHUPAI = "game_start_chupai";
        
        
    }
}
