Esempio n. 1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameNetworkAuthByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

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

            int i = api.CountGameNetworkAuthByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Esempio n. 2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameNetworkAuth()
        {
            ResponseGameNetworkAuthInt wrapper = new ResponseGameNetworkAuthInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-network-auth/count";

            int i = api.CountGameNetworkAuth(
            );

            // get data
            wrapper.data = i;

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