C# Class SteamChatBot.Bot

Show file Open project: Steam-Chat-Bot/SteamChatBot Class Usage Examples

Public Properties

Property Type Description
CLL string
FLL string
authCode string
displayName string
isRunning bool
logFile string
manager CallbackManager
password string
sentryFile string
sentryHash byte[]
sharedSecret string
steamClient SteamClient
steamFriends SteamKit2.SteamFriends
steamGC SteamKit2.SteamGameCoordinator
steamGuardAccount SteamGuardAccount
steamUser SteamKit2.SteamUser
triggers List
twoFactorAuth string
username string

Public Methods

Method Description
Connect ( ) : void
Dispose ( ) : void
LogOn ( ) : void
ReadData ( string _username ) : UserInfo

Reads login data from username/login.json

Start ( string _username, string _password, string cll, string fll, string _logFile, string _displayName, string _sentryFile ) : void

Starts the bot

WriteData ( ) : void

Writes login data to username/login.json

Private Methods

Method Description
Dispose ( bool disposing ) : void
OnChatInvite ( SteamFriends callback ) : void
OnChatMemberInfo ( SteamFriends callback ) : void
OnChatMsg ( SteamFriends callback ) : void
OnConnected ( SteamClient callback ) : void
OnDisconnected ( SteamClient callback ) : void
OnFriendList ( SteamFriends callback ) : void
OnFriendMsg ( SteamFriends callback ) : void
OnLoggedOff ( SteamUser callback ) : void
OnLoggedOn ( SteamUser callback ) : void
OnLoginKeyCallback ( SteamUser callback ) : void
OnUpdateMachineAuth ( SteamUser callback ) : void
SubForCB ( ) : void
T_Elapsed ( object sender, System e ) : void

Method Details

Connect() public static method

public static Connect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

LogOn() public static method

public static LogOn ( ) : void
return void

ReadData() public static method

Reads login data from username/login.json
public static ReadData ( string _username ) : UserInfo
_username string
return UserInfo

Start() public static method

Starts the bot
public static Start ( string _username, string _password, string cll, string fll, string _logFile, string _displayName, string _sentryFile ) : void
_username string
_password string
cll string
fll string
_logFile string
_displayName string
_sentryFile string
return void

WriteData() public static method

Writes login data to username/login.json
public static WriteData ( ) : void
return void

Property Details

CLL public static property

public static string CLL
return string

FLL public static property

public static string FLL
return string

authCode public static property

public static string authCode
return string

displayName public static property

public static string displayName
return string

isRunning public static property

public static bool isRunning
return bool

logFile public static property

public static string logFile
return string

manager public static property

public static CallbackManager manager
return CallbackManager

password public static property

public static string password
return string

sentryFile public static property

public static string sentryFile
return string

sentryHash public static property

public static byte[] sentryHash
return byte[]

sharedSecret public static property

public static string sharedSecret
return string

steamClient public static property

public static SteamClient steamClient
return SteamClient

steamFriends public static property

public static SteamFriends,SteamKit2 steamFriends
return SteamKit2.SteamFriends

steamGC public static property

public static SteamGameCoordinator,SteamKit2 steamGC
return SteamKit2.SteamGameCoordinator

steamGuardAccount public static property

public static SteamGuardAccount steamGuardAccount
return SteamGuardAccount

steamUser public static property

public static SteamUser,SteamKit2 steamUser
return SteamKit2.SteamUser

triggers public static property

public static List triggers
return List

twoFactorAuth public static property

public static string twoFactorAuth
return string

username public static property

public static string username
return string