C# 클래스 HourBoostr.Bot

파일 보기 프로젝트 열기: Ezzpify/HourBoostr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
mAccountSettings Config.AccountSettings
mBotState BotState
mHasConnectedOnce bool
mIsRunning bool
mPlayingBlocked bool

공개 메소드들

메소드 설명
Bot ( Config info ) : System

Main initializer for each account

비공개 메소드들

메소드 설명
BackgroundWorkerOnDoWork ( object sender, DoWorkEventArgs doWorkEventArgs ) : void

Backgroundworker for callbacks

BackgroundWorkerOnRunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs runWorkerCompletedEventArgs ) : void

Backgroundworker callback complete

Connect ( ) : void

Connect to Steam

LogOnSuccess ( ) : void

Fires when bot is fully logged on

OnConnected ( SteamClient callback ) : void

OnConnected Callback Fires when Client connects to Steam

OnDisconnected ( SteamClient callback ) : void

OnDisconnected Callback Fires when Client disconnects from Steam Will also fire when setting up an account to re-auth

OnFriendMsgCallback ( SteamFriends callback ) : void

Fires when the bot receives a steam chat message from someone on their friendlist

OnLoggedOn ( SteamUser callback ) : void

OnLoggedOn Callback Fires when User logs in successfully

OnLoginKey ( SteamUser callback ) : void

Retreive the login key for account

OnMachineAuth ( SteamUser callback ) : void

OnMachineAuth Callback Fires when User is authenticating the Steam account

OnPlayingSessionState ( ExtraHandler callback ) : void

Occures when a playing session state changes

OnWebAPIUserNonce ( SteamUser callback ) : void

Retrieves the web api nounce and authenticates the user

RestartGames ( object sender, System.Timers.ElapsedEventArgs e ) : void

This will simulate stopping playing games and restarting it after a random period This is called from a timer

SetGamesPlaying ( bool state ) : void

Set the game currently playing for cooler looks lel

Steam ( ) : System
UserWebLogOn ( ) : void

Authenticates user to community

VerifyCommunityConnection ( object sender, System.Timers.ElapsedEventArgs e ) : void

This will periodically

메소드 상세

Bot() 공개 메소드

Main initializer for each account
public Bot ( Config info ) : System
info Config Account info
리턴 System

프로퍼티 상세

mAccountSettings 공개적으로 프로퍼티

Information for this account
public Config.AccountSettings mAccountSettings
리턴 Config.AccountSettings

mBotState 공개적으로 프로퍼티

State of bot status
public BotState mBotState
리턴 BotState

mHasConnectedOnce 공개적으로 프로퍼티

If we have connected once successfully this will be true Good to know if we disconnect
public bool mHasConnectedOnce
리턴 bool

mIsRunning 공개적으로 프로퍼티

Represents if the bot is in running state
public bool mIsRunning
리턴 bool

mPlayingBlocked 공개적으로 프로퍼티

Playing games blocked status
public bool mPlayingBlocked
리턴 bool