UserAchievementStored

Swift
public struct UserAchievementStored: Sendable

Steamworks UserAchievementStored_t


Topics

var gameID: GameID

Steamworks m_nGameID

Declaration
Swift
public let gameID: GameID

var groupAchievement: Bool

Steamworks m_bGroupAchievement

Declaration
Swift
public let groupAchievement: Bool

var achievementName: String

Steamworks m_rgchAchievementName

Declaration
Swift
public let achievementName: String

var curProgress: Int

Steamworks m_nCurProgress

Declaration
Swift
public let curProgress: Int

var maxProgress: Int

Steamworks m_nMaxProgress

Declaration
Swift
public let maxProgress: Int

init(gameID: GameID, groupAchievement: Bool, achievementName: String, curProgress: Int, maxProgress: Int)

Create a customized UserAchievementStored

Declaration
Swift
public init(
    gameID: GameID = GameID(), groupAchievement: Bool = false,
    achievementName: String = "", curProgress: Int = 0, maxProgress: Int = 0)