C# 클래스 cs_elbot.TradeHandler

description of TradeHandler.
파일 보기 프로젝트 열기: Sir-Odie/CS-ELBot 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AcceptStateMe int
AcceptStatePartner int
Billance double
Donating bool
Gambling bool
Giving bool
MyItemList System.Collections.ArrayList
PartnerTradeItemsList System.Collections.Hashtable
PutOnSale bool
SentThanks bool
TradeTimer System.Timers.Timer
Trading bool
claimingPrize bool
depositMade bool
idleTradeTime int
idleWarningSent bool
invalidItem bool
itemTraded bool
itemsFoundInStorage bool
makingDeposit bool
makingWithdraw bool
openingStorage bool
storageAvailable bool
storageOpen bool
totalCalculated bool
totalOwed double
username string
withdrawMade bool

공개 메소드들

메소드 설명
AddTrade ( int KnownItemsSqlID, double price, uint quantity, string action ) : void
AmITrading ( ) : bool
LogTrade ( ) : void
PutItemsOnTrade ( int SQLID, uint quantity ) : uint
PutItemsOnTrade ( int SQLID, uint quantity, bool fromInventory ) : uint
TradeHandler ( TCPWrapper MyTCPWrapper, BasicCommunication MyMessageParser, MySqlManager MyMySqlManager, cs_elbot.Inventory MyInventory, AdvancedCommunication MyActorHandler, Logger MyLogger, cs_elbot.Storage MyStorage, cs_elbot.errorHandler MyErrorHandler, AdvancedCommunication MyHelpCommandHandler ) : System
stopTimer ( ) : void

비공개 메소드들

메소드 설명
CheckBuyingItems ( TradeItem &MyTradeItem ) : bool
GET_TRADE_ABORT ( byte buffer ) : void
GET_TRADE_ACCEPT ( byte buffer ) : void
GET_TRADE_OBJECT ( byte buffer ) : void
GET_TRADE_REJECT ( byte buffer ) : void
GET_YOUR_TRADE_OBJECTS ( byte data ) : void
INVENTORY_ITEM_TEXT ( byte data ) : void
OnGotAbortTrade ( object sender, System e ) : void
OnGotCommand ( object sender, TCPWrapper e ) : void
OnGotNewInventoryList ( object sender, cs_elbot.Inventory e ) : void
OnGotPM ( object sender, BasicCommunication e ) : void
OnGotTradeRequest ( object sender, BasicCommunication e ) : void
OnGotTradeRequest ( object sender, BasicCommunication e, bool junk ) : void
REMOVE_TRADE_OBJECT ( byte buffer ) : void
STORAGE_ITEMS ( byte data ) : void
STORAGE_LIST ( byte data ) : void
STORAGE_TEXT ( byte data ) : void
TradeTimer_Tick ( object sender, System eArgs ) : void
doTotal ( string username, bool fromPM ) : void

메소드 상세

AddTrade() 공개 메소드

public AddTrade ( int KnownItemsSqlID, double price, uint quantity, string action ) : void
KnownItemsSqlID int
price double
quantity uint
action string
리턴 void

AmITrading() 공개 메소드

public AmITrading ( ) : bool
리턴 bool

LogTrade() 공개 메소드

public LogTrade ( ) : void
리턴 void

PutItemsOnTrade() 공개 메소드

public PutItemsOnTrade ( int SQLID, uint quantity ) : uint
SQLID int
quantity uint
리턴 uint

PutItemsOnTrade() 공개 메소드

public PutItemsOnTrade ( int SQLID, uint quantity, bool fromInventory ) : uint
SQLID int
quantity uint
fromInventory bool
리턴 uint

TradeHandler() 공개 메소드

public TradeHandler ( TCPWrapper MyTCPWrapper, BasicCommunication MyMessageParser, MySqlManager MyMySqlManager, cs_elbot.Inventory MyInventory, AdvancedCommunication MyActorHandler, Logger MyLogger, cs_elbot.Storage MyStorage, cs_elbot.errorHandler MyErrorHandler, AdvancedCommunication MyHelpCommandHandler ) : System
MyTCPWrapper TCPWrapper
MyMessageParser BasicCommunication
MyMySqlManager MySqlManager
MyInventory cs_elbot.Inventory
MyActorHandler AdvancedCommunication
MyLogger Logger
MyStorage cs_elbot.Storage
MyErrorHandler cs_elbot.errorHandler
MyHelpCommandHandler AdvancedCommunication
리턴 System

stopTimer() 공개 메소드

public stopTimer ( ) : void
리턴 void

프로퍼티 상세

AcceptStateMe 공개적으로 프로퍼티

public int AcceptStateMe
리턴 int

AcceptStatePartner 공개적으로 프로퍼티

public int AcceptStatePartner
리턴 int

Billance 공개적으로 프로퍼티

public double Billance
리턴 double

Donating 공개적으로 프로퍼티

public bool Donating
리턴 bool

Gambling 공개적으로 프로퍼티

public bool Gambling
리턴 bool

Giving 공개적으로 프로퍼티

public bool Giving
리턴 bool

MyItemList 공개적으로 프로퍼티

public ArrayList,System.Collections MyItemList
리턴 System.Collections.ArrayList

PartnerTradeItemsList 공개적으로 프로퍼티

public Hashtable,System.Collections PartnerTradeItemsList
리턴 System.Collections.Hashtable

PutOnSale 공개적으로 프로퍼티

public bool PutOnSale
리턴 bool

SentThanks 공개적으로 프로퍼티

public bool SentThanks
리턴 bool

TradeTimer 공개적으로 프로퍼티

public System.Timers.Timer TradeTimer
리턴 System.Timers.Timer

Trading 공개적으로 프로퍼티

public bool Trading
리턴 bool

claimingPrize 공개적으로 프로퍼티

public bool claimingPrize
리턴 bool

depositMade 공개적으로 프로퍼티

public bool depositMade
리턴 bool

idleTradeTime 공개적으로 프로퍼티

public int idleTradeTime
리턴 int

idleWarningSent 공개적으로 프로퍼티

public bool idleWarningSent
리턴 bool

invalidItem 공개적으로 프로퍼티

public bool invalidItem
리턴 bool

itemTraded 공개적으로 프로퍼티

public bool itemTraded
리턴 bool

itemsFoundInStorage 공개적으로 프로퍼티

public bool itemsFoundInStorage
리턴 bool

makingDeposit 공개적으로 프로퍼티

public bool makingDeposit
리턴 bool

makingWithdraw 공개적으로 프로퍼티

public bool makingWithdraw
리턴 bool

openingStorage 공개적으로 정적으로 프로퍼티

public static bool openingStorage
리턴 bool

storageAvailable 공개적으로 프로퍼티

public bool storageAvailable
리턴 bool

storageOpen 공개적으로 정적으로 프로퍼티

public static bool storageOpen
리턴 bool

totalCalculated 공개적으로 프로퍼티

public bool totalCalculated
리턴 bool

totalOwed 공개적으로 프로퍼티

public double totalOwed
리턴 double

username 공개적으로 정적으로 프로퍼티

public static string username
리턴 string

withdrawMade 공개적으로 프로퍼티

public bool withdrawMade
리턴 bool