示例#1
0
        private static void FilterActiveGamesByPotSize(ClientInfo clientInfo, JObject jsonObject)
        {
            var potSizeToken = jsonObject["potSize"];

            if ((potSizeToken == null) || (potSizeToken.Type != JTokenType.Integer))
            {
                throw new ArgumentException("Error: Parameters Mismatch at Filter Active Games By Pot Size");
            }

            var filterActiveGamesByPotSizeResponse = sl.filterActiveGamesByPotSize((int?)potSizeToken);

            SendMessage(clientInfo, filterActiveGamesByPotSizeResponse);
            return;
        }