public class GameID extends Object
Modifier and Type | Field and Description |
---|---|
(package private) BitVector64 |
gameId |
Constructor and Description |
---|
GameID()
Initializes a new instance of the
GameID class. |
GameID(int nAppID)
Initializes a new instance of the
GameID class. |
GameID(long id)
Initializes a new instance of the
GameID class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified
Object is equal to this instance. |
long |
getAppID()
Gets the app id.
|
GameType |
getAppType()
Gets the type of the app.
|
long |
getModID()
Gets the mod id.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isMod()
Gets a value indicating whether this instance is a mod.
|
boolean |
IsP2PFile()
Gets a value indicating whether this instance is a peer-to-peer file.
|
boolean |
isShortcut()
Gets a value indicating whether this instance is a shortcut.
|
boolean |
IsSteamApp()
Gets a value indicating whether this instance is a steam app.
|
void |
set(long gameId)
Sets the various components of this GameID from a 64bit integer form.
|
void |
setAppID(long appID)
Gets the app id.
|
void |
setAppType(GameType appType)
Sets the type of the app.
|
void |
setModID(long modID)
Sets the mod id.
|
long |
toLong()
Converts this GameID into it's 64bit integer form.
|
String |
toString()
|
BitVector64 gameId
public GameID()
GameID
class.public GameID(long id)
GameID
class.id
- The 64bit integer to assign this GameID from.public GameID(int nAppID)
GameID
class.nAppID
- The 32bit app id to assign this GameID from.public void set(long gameId)
gameId
- The 64bit integer to assign this GameID from.public long toLong()
public long getAppID()
public void setAppID(long appID)
appID
- The app IDidpublic GameType getAppType()
public void setAppType(GameType appType)
appType
- The type of the app.public long getModID()
public void setModID(long modID)
modID
- The mod ID.public boolean isMod()
public boolean isShortcut()
public boolean IsP2PFile()
public boolean IsSteamApp()
public boolean equals(Object obj)
Object
is equal to this instance.Copyright © 2012. All Rights Reserved.