@heybox/hb-sdk API Reference - v0.9.5
    正在准备搜索索引...

    接口 SteamGameListItem

    经过 Host Runtime 规范化的 Steam 游戏条目;无效必填字段会导致整条记录被移除。

    interface SteamGameListItem {
        appid: number;
        icon?: string;
        image?: string;
        name: string;
        playtime2Weeks?: number;
        playtimeForever?: number;
        portraitImage?: string;
        steamAppid: number;
        tags?: string[];
    }
    索引

    属性

    appid: number

    小黑盒游戏目录 ID。

    icon?: string

    非空 Steam 图标 URL 字符串。

    image?: string

    非空封面或主图 URL 字符串。

    name: string

    trim 后的非空名称。

    playtime2Weeks?: number

    Steam 游戏库接口返回的最近两周游玩时长,当前单位为秒;0 是有效值。

    playtimeForever?: number

    Steam 游戏库接口返回的累计游玩时长,当前单位为秒;0 是有效值。

    portraitImage?: string

    非空竖版游戏封面 URL;不可用时省略。

    steamAppid: number

    Steam App ID;缺失时由 Host 回退为 appid。

    tags?: string[]

    非空标签列表;没有有效标签时省略。