steamapi
Version:
A nice Steam API wrapper.
16 lines (15 loc) • 573 B
TypeScript
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;
}