UNPKG

steamapi

Version:
16 lines (15 loc) 573 B
export default class UserAchievement { /** API name for this achievement (e.g. ACH03, TF_GET_TURRETKILLS, Champion) */ name: string; /** Whether the user has unlocked this achievement */ unlocked: boolean; /** * Unix Timestamp for when the user unlocked this achievement. * Is 0 if the user has not unlocked this achievement. Only defined * when calling getUserAchievements() */ unlockedTimestamp?: number; constructor(data: any); /** Date when this achievement was unlocked */ get unlockedAt(): Date | undefined; }