GameID

open class GameID

This 64bit structure represents an app, mod, shortcut, or p2p file on the Steam network.

Constructors

Link copied to clipboard
constructor()
Initializes a new instance of the GameID class.
constructor(id: Long)
Initializes a new instance of the GameID class.
constructor(nAppId: Int)
Initializes a new instance of the GameID class.
constructor(nAppId: Int, modPath: String)
Initializes a new instance of the GameID class.
constructor(exePath: String, appName: String)
Initializes a new instance of the GameID class.

Types

Link copied to clipboard
Represents various types of games.

Functions

Link copied to clipboard
open fun convertToUInt64(): Long
Converts this GameID into it's 64bit integer form.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Determines whether the specified Object is equal to this instance.
Link copied to clipboard
open fun getAppID(): Int
Gets the app id.
Link copied to clipboard
Gets the type of the app.
Link copied to clipboard
open fun getModID(): Long
Gets the mod id.
Link copied to clipboard
open fun hashCode(): Int
Returns a hash code for this instance.
Link copied to clipboard
open fun isMod(): Boolean
Gets a value indicating whether this instance is a mod.
Link copied to clipboard
open fun isP2PFile(): Boolean
Gets a value indicating whether this instance is a peer-to-peer file.
Link copied to clipboard
open fun isShortcut(): Boolean
Gets a value indicating whether this instance is a shortcut.
Link copied to clipboard
open fun isSteamApp(): Boolean
Gets a value indicating whether this instance is a steam app.
Link copied to clipboard
open fun set(gameId: Long)
Sets the various components of this GameID from a 64bit integer form.
Link copied to clipboard
open fun setAppID(value: Int)
Sets the app id.
Link copied to clipboard
open fun setAppType(value: GameID.GameType)
Sets the type of the app.
Link copied to clipboard
open fun setFromUInt64(longSteamId: Long)
Sets the various components of this GameID from a 64bit integer form.
Link copied to clipboard
open fun setModID(value: Long)
Sets the mod id.
Link copied to clipboard
open fun toString(): String
Returns a String that represents this instance.
Link copied to clipboard
open fun toUInt64(): Long
Converts this GameID into it's 64bit integer form.