C# Class SteamKit2.GameID

Show file Open project: Top-Cat/SteamBot Class Usage Examples

Public Methods

Method Description
Equals ( GameID gid ) : bool

Determines whether the specified GameID is equal to this instance.

Equals ( System obj ) : bool

Determines whether the specified System.Object is equal to this instance.

GameID ( ) : System

Initializes a new instance of the GameID class.

GameID ( Int32 nAppID ) : System

Initializes a new instance of the GameID class.

GameID ( System.UInt64 id ) : System

Initializes a new instance of the GameID class.

GetHashCode ( ) : int

Returns a hash code for this instance.

Set ( ulong gameId ) : void

Sets the various components of this GameID from a 64bit integer form.

ToUInt64 ( ) : ulong

Converts this GameID into it's 64bit integer form.

operator ( ) : bool

Implements the operator ==.

Method Details

Equals() public method

Determines whether the specified GameID is equal to this instance.
public Equals ( GameID gid ) : bool
gid GameID The to compare with this instance.
return bool

Equals() public method

Determines whether the specified System.Object is equal to this instance.
public Equals ( System obj ) : bool
obj System The to compare with this instance.
return bool

GameID() public method

Initializes a new instance of the GameID class.
public GameID ( ) : System
return System

GameID() public method

Initializes a new instance of the GameID class.
public GameID ( Int32 nAppID ) : System
nAppID System.Int32 The 32bit app id to assign this GameID from.
return System

GameID() public method

Initializes a new instance of the GameID class.
public GameID ( System.UInt64 id ) : System
id System.UInt64 The 64bit integer to assign this GameID from.
return System

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

Set() public method

Sets the various components of this GameID from a 64bit integer form.
public Set ( ulong gameId ) : void
gameId ulong The 64bit integer to assign this GameID from.
return void

ToUInt64() public method

Converts this GameID into it's 64bit integer form.
public ToUInt64 ( ) : ulong
return ulong

operator() public static method

Implements the operator ==.
public static operator ( ) : bool
return bool