using System;

namespace GameData {
    /// <summary>
    /// 玩家的游戏信息
    /// </summary>
    public class PlayerGameInfo {
        /// <summary>
        /// 玩家所在游戏的服务器id 小于等于0表示未在任何游戏中
        /// </summary>
        public int game_serid;

        /// <summary>
        /// 是否是在朋友房 小于等0 表示未在朋友房
        /// </summary>
        public int isFriendRoom;

        /// <summary>
        /// 玩家点击的游戏_game_serid;
        /// </summary>
        public int clickGame;

        /// <summary>
        /// 1表示提示玩家 2让客户端立即进入
        /// </summary>
        public int style;

        /// <summary>
        /// 
        /// </summary>
        public PlayerGameInfo(){ }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="game_serid">game_serid</param>
        /// <param name="isFriendRoom">所在朋友房房间号</param>
        /// <param name="style">类型1表示提示玩家 2表示让客户端立即进入</param>
        /// <param name="clickGame">点击的游戏</param>
        public PlayerGameInfo(int game_serid,int isFriendRoom,int style,int clickGame) {
            this.game_serid = game_serid;
            this.isFriendRoom = isFriendRoom;
            this.style = style;
            this.clickGame = clickGame;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override string ToString() {
            return "game_serid: " + game_serid + ",FriendRoom:" + isFriendRoom + ",clickGame:" + clickGame;
        }


    }
}
