Exemple #1
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileGameNetworkByNetworkUsernameByGameIdByGameNetworkId()
        {
            string _network_username = (string)util.GetParamValue(_context, "network_username");
            string _game_id = (string)util.GetParamValue(_context, "game_id");
            string _game_network_id = (string)util.GetParamValue(_context, "game_network_id");

            ResponseProfileGameNetworkInt wrapper = new ResponseProfileGameNetworkInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-game-network/count/by-network-username/by-game-id/by-game-network-id";

            int i = api.CountProfileGameNetworkByNetworkUsernameByGameIdByGameNetworkId(
                _network_username
                , _game_id
                , _game_network_id
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Exemple #2
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileGameNetworkByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseProfileGameNetworkInt wrapper = new ResponseProfileGameNetworkInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-game-network/count/by-uuid";

            int i = api.CountProfileGameNetworkByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Exemple #3
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileGameNetwork()
        {
            ResponseProfileGameNetworkInt wrapper = new ResponseProfileGameNetworkInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-game-network/count";

            int i = api.CountProfileGameNetwork(
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }