Метод | Описание | |
---|---|---|
AdminUserHandler ( |
||
OnAcceptedFriend ( |
||
OnAddedFriend ( |
||
OnFriendAdd ( ) : bool |
Called when a the user adds the bot as a friend.
|
|
OnFriendRemove ( ) : void | ||
OnGroupAdd ( ) : bool |
Triggered when a clan invites the bot.
|
|
OnLoginCompleted ( ) : bool |
Called when the bot is fully logged in.
|
|
OnMessage ( string message, EChatEntryType type ) : void |
Called whenever a message is sent to the bot. This is limited to regular and emote messages.
|
|
OnTradeAccept ( ) : void | ||
OnTradeAddItem ( Schema schemaItem, Inventory inventoryItem ) : void | ||
OnTradeError ( string error ) : void | ||
OnTradeInit ( ) : void | ||
OnTradeMessage ( string message ) : void | ||
OnTradeReady ( bool ready ) : void | ||
OnTradeRemoveItem ( Schema schemaItem, Inventory inventoryItem ) : void | ||
OnTradeRequest ( ) : bool |
Called whenever a user requests a trade.
|
|
OnTradeSuccess ( ) : void | ||
OnTradeTimeout ( ) : void |
Метод | Описание | |
---|---|---|
AddAllItems ( ) : void | ||
AddCrateBySeries ( string series, uint amount ) : void | ||
AddItemsByCraftType ( string typeToAdd, uint amount ) : void | ||
GetAddAmount ( string data ) : uint | ||
GetSubCommand ( string data, string &subCommand ) : bool | ||
HandleAddCommand ( string command ) : void | ||
HandleRemoveCommand ( string command ) : void | ||
PrintHelpMessage ( ) : void | ||
ProcessTradeMessage ( string message ) : void |
public AdminUserHandler ( |
||
bot | ||
sid | ||
Результат | System |
public OnAcceptedFriend ( |
||
id | ||
Результат | void |
public OnAddedFriend ( |
||
id | ||
Результат | void |
public OnMessage ( string message, EChatEntryType type ) : void | ||
message | string | |
type | EChatEntryType | |
Результат | void |
public OnTradeAddItem ( Schema schemaItem, Inventory inventoryItem ) : void | ||
schemaItem | Schema | |
inventoryItem | Inventory | |
Результат | void |
public OnTradeError ( string error ) : void | ||
error | string | |
Результат | void |
public OnTradeMessage ( string message ) : void | ||
message | string | |
Результат | void |
public OnTradeRemoveItem ( Schema schemaItem, Inventory inventoryItem ) : void | ||
schemaItem | Schema | |
inventoryItem | Inventory | |
Результат | void |