Méthode | Description | |
---|---|---|
AddFriend ( |
Adds somebody to the bot's friend list.
|
|
Connect ( ) : void |
Connect and login to Steam.
|
|
Disconnect ( SteamBotDisconnectReason reason = SteamBotDisconnectReason.Disconnected ) : void |
Disconnect from Steam. Will call OnDisconnected.
|
|
GetPersona ( |
Gets the persona from a Steam ID. Will return null if the given ID is not valid. Information may not be instantly available if the persona was not "seen" before.
|
|
Join ( |
Attempt to join a chat. Will call OnLeave if the chat could not be joined.
|
|
RemoveFriend ( |
Removes somebody from the bot's friend list.
|
|
SteamBot ( string username, string password, string authCode = null ) : System |
Create a new SteamBot. Username and password must be for the Steam account you want it to use. A Steam Guard authorization code may need to be provided for login to work.
|
Méthode | Description | |
---|---|---|
GetSentryFileName ( ) : string | ||
InitializeCallbacks ( ) : void | ||
Run ( ) : void |
public AddFriend ( |
||
id | ||
Résultat | void |
public Disconnect ( SteamBotDisconnectReason reason = SteamBotDisconnectReason.Disconnected ) : void | ||
reason | SteamBotDisconnectReason | |
Résultat | void |
public GetPersona ( |
||
id | ||
Résultat |
public Join ( |
||
chatId | ||
Résultat |
public RemoveFriend ( |
||
id | ||
Résultat | void |
public SteamBot ( string username, string password, string authCode = null ) : System | ||
username | string | |
password | string | |
authCode | string | |
Résultat | System |