Esempio n. 1
0
        /// <summary>
        /// Get room Property With propertyName
        /// </summary>
        /// <param name="propertyName">The name of a Property You Want To Find</param>
        public static object GetRoomProperty(string propertyName)
        {
            if (!IsAvailable)
            {
                throw new GameServiceException("GsLiveRealtime is Not Available");
            }

            if (!FiroozehGameService.Core.GameService.GSLive.IsRealTimeAvailable())
            {
                throw new GameServiceException("RealTime is Not Available");
            }

            return(_propertyHandler.GetRoomProperty(propertyName));
        }