コード例 #1
0
ファイル: BaseGamingService.cs プロジェクト: drawcode/bom
        //------------------------------------------------------------------------------
        public virtual void CountProfileGameLocationByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

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

            int i = api.CountProfileGameLocationByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
コード例 #2
0
ファイル: BaseGamingService.cs プロジェクト: drawcode/bom
        //------------------------------------------------------------------------------
        public virtual void CountProfileGameLocation()
        {
            ResponseProfileGameLocationInt wrapper = new ResponseProfileGameLocationInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-game-location/count";

            int i = api.CountProfileGameLocation(
            );

            // get data
            wrapper.data = i;

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