A B C D E F G H I J L M N O P Q R S T U V Y 
All Classes All Packages

A

accept() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
Accept this request
accept() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
Accept the request
addExecutor(CommandExecutor, CommandArgument<?>...) - Method in class top.focess.qq.api.command.Command
Add default executor to define how to execute this command.
addPermission(Permission) - Method in class top.focess.qq.api.plugin.PluginDescription
 
aliases() - Method in annotation type top.focess.qq.api.command.CommandType
Set the aliases of the command
allocate(int) - Static method in class top.focess.qq.api.command.data.CommandBuffer
Allocate a CommandBuffer with fixed size
allocate(int) - Static method in class top.focess.qq.api.command.data.PermissionBuffer
 
allocate(int) - Static method in class top.focess.qq.api.command.data.PluginBuffer
Allocate a PluginBuffer with fixed size
ANDROID_PAD - top.focess.qq.api.bot.BotProtocol
 
ANDROID_PHONE - top.focess.qq.api.bot.BotProtocol
 
ANDROID_WATCH - top.focess.qq.api.bot.BotProtocol
 
async(Consumer<IOHandler>) - Method in class top.focess.qq.api.util.IOHandler
 
Audio - Interface in top.focess.qq.api.bot.message
 

B

Bot - Interface in top.focess.qq.api.bot
This class is used to define a Mirai Bot Instance
BotEvent - Class in top.focess.qq.api.event.bot
Called when an event is relative with a bot
BotEvent(Bot) - Constructor for class top.focess.qq.api.event.bot.BotEvent
Constructs a BotEvent
BotLoginEvent - Class in top.focess.qq.api.event.bot
Called when bot login
BotLoginEvent(Bot) - Constructor for class top.focess.qq.api.event.bot.BotLoginEvent
Constructs a BotLoginEvent
BotLoginException - Exception in top.focess.qq.api.bot
Thrown to indicate a bot login failed
BotLoginException(long) - Constructor for exception top.focess.qq.api.bot.BotLoginException
Constructs a BotLoginException
BotLoginException(long, Exception) - Constructor for exception top.focess.qq.api.bot.BotLoginException
Constructs a BotLoginException
BotLoginException(long, String) - Constructor for exception top.focess.qq.api.bot.BotLoginException
 
BotLogoutEvent - Class in top.focess.qq.api.event.bot
Called when bot logout
BotLogoutEvent(Bot) - Constructor for class top.focess.qq.api.event.bot.BotLogoutEvent
Constructs a BotLogoutEvent
BotManager - Interface in top.focess.qq.api.bot
This class is used to manage all the bots.
BotPreSendMessageEvent - Class in top.focess.qq.api.event.bot
Called when bot pre-send message
BotPreSendMessageEvent(Bot, Message, Contact) - Constructor for class top.focess.qq.api.event.bot.BotPreSendMessageEvent
Constructs a BotPreSendMessageEvent
BotProtocol - Enum in top.focess.qq.api.bot
 
BotReloginEvent - Class in top.focess.qq.api.event.bot
Called when bot relogin
BotReloginEvent(Bot) - Constructor for class top.focess.qq.api.event.bot.BotReloginEvent
Constructs a BotReloginEvent
BotSendMessageEvent - Class in top.focess.qq.api.event.bot
Called when bot send message
BotSendMessageEvent(Bot, Message, Contact) - Constructor for class top.focess.qq.api.event.bot.BotSendMessageEvent
Constructs a BotEvent
buffer() - Method in annotation type top.focess.qq.api.command.converter.DataConverterType
 

C

cancel() - Method in interface top.focess.qq.api.event.Cancellable
Cancel the event
Cancellable - Interface in top.focess.qq.api.event
This class indicates that the implemented event class is cancellable
ChatEvent - Class in top.focess.qq.api.event.chat
Called when a friend chat with bot or a member chat in a group the bot is in
ChatEvent(Bot, Message, MessageSource) - Constructor for class top.focess.qq.api.event.chat.ChatEvent
Constructs a ChatEvent
clear(Plugin) - Static method in class top.focess.qq.api.command.CommandSender
 
ClientReceiver - Class in top.focess.qq.api.net
 
ClientReceiver(ClientReceiver) - Constructor for class top.focess.qq.api.net.ClientReceiver
 
close() - Method in class top.focess.qq.api.net.ClientReceiver
 
close() - Method in class top.focess.qq.api.net.ServerReceiver
 
close() - Method in class top.focess.qq.api.net.Socket
 
close(Plugin) - Static method in class top.focess.qq.api.scheduler.Schedulers
Close all the schedulers belonging to the plugin
closeAll() - Static method in class top.focess.qq.api.scheduler.Schedulers
Close all the schedulers
Command - Class in top.focess.qq.api.command
Represent a Plugin class that can execute.
Command() - Constructor for class top.focess.qq.api.command.Command
Provide a constructor to help CommandType design.
Command(String, String...) - Constructor for class top.focess.qq.api.command.Command
Instance a Command Class with special name and aliases.
COMMAND_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.converter.CommandDataConverter
Convert the String argument to Command argument
CommandBuffer - Class in top.focess.qq.api.command.data
Represent a buffer of Command.
CommandBuffer(int) - Constructor for class top.focess.qq.api.command.data.CommandBuffer
 
CommandDataConverter - Class in top.focess.qq.api.command.converter
Convert the String argument to Command argument
CommandDataConverter() - Constructor for class top.focess.qq.api.command.converter.CommandDataConverter
 
CommandExecutedEvent - Class in top.focess.qq.api.event.command
Called after command executed
CommandExecutedEvent(Command, String[], IOHandler, CommandSender, CommandResult) - Constructor for class top.focess.qq.api.event.command.CommandExecutedEvent
Constructs a CommandExecutedEvent
CommandExecutor - Interface in top.focess.qq.api.bot.contact
 
CommandExecutor - Interface in top.focess.qq.api.command
Represents a command executor to define how to execute command.
CommandLine - Class in top.focess.qq.api.command
The CommandLine Tool Class can be used to exec command with customize executor, arguments and receiver.
CommandLine() - Constructor for class top.focess.qq.api.command.CommandLine
 
CommandLoadException - Exception in top.focess.qq.api.command
Thrown to indicate there is any exception thrown in the initializing process
CommandLoadException(Class<? extends Command>, Exception) - Constructor for exception top.focess.qq.api.command.CommandLoadException
Constructs a CommandLoadException
CommandPrepostEvent - Class in top.focess.qq.api.event.command
Called before command executing
CommandPrepostEvent(CommandSender, Command, String[], IOHandler) - Constructor for class top.focess.qq.api.event.command.CommandPrepostEvent
Constructs a CommandPrepostEvent
CommandSender - Class in top.focess.qq.api.command
This class present an executor to execute command.
CommandSender(Friend) - Constructor for class top.focess.qq.api.command.CommandSender
Deprecated.
CommandSender(Member) - Constructor for class top.focess.qq.api.command.CommandSender
Deprecated.
CommandSender(Stranger) - Constructor for class top.focess.qq.api.command.CommandSender
Deprecated.
CommandType - Annotation Type in top.focess.qq.api.command
Represent this class is a Command.
compute(String, BiFunction<? super String, ? super Object, ?>) - Method in class top.focess.qq.api.util.session.Session
 
Config - Class in top.focess.qq.api.util.config
Represents a configuration.
Config(File) - Constructor for class top.focess.qq.api.util.config.Config
Loads the configuration from the given file Note: if the file is null or not exists, it will create an empty configuration.
Config(InputStream) - Constructor for class top.focess.qq.api.util.config.Config
Loads the configuration from the given input stream
Config(Map<String, Object>) - Constructor for class top.focess.qq.api.util.config.Config
Loads the configuration from the given values
Config(YamlConfiguration) - Constructor for class top.focess.qq.api.util.config.Config
Loads the configuration from the given YamlConfiguration
CONSOLE - Static variable in class top.focess.qq.api.command.CommandSender
Present CONSOLE or we call it Terminate
ConsoleChatEvent - Class in top.focess.qq.api.event.chat
Called when Console input a String
ConsoleChatEvent(TextMessage) - Constructor for class top.focess.qq.api.event.chat.ConsoleChatEvent
Constructs a ConsoleInputEvent
consoleInput(String) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message inputted by console with DEBUG level
ConsoleMessageEvent - Class in top.focess.qq.api.event.message
Called when Console input a String (this does not execute any commands)
ConsoleMessageEvent(TextMessage) - Constructor for class top.focess.qq.api.event.message.ConsoleMessageEvent
 
Contact - Interface in top.focess.qq.api.bot.contact
Represents a contact, which means a Stranger, a Friend, a Group, a OtherClient or a Member in a group.
contains(String) - Method in class top.focess.qq.api.util.config.Config
Indicate there is a configuration named key
contains(String) - Method in class top.focess.qq.api.util.config.DefaultConfig
 
contains(String) - Method in class top.focess.qq.api.util.session.Session
 
containsSection(String) - Method in class top.focess.qq.api.util.session.Session
 
convert(String) - Method in class top.focess.qq.api.command.converter.CommandDataConverter
 
convert(String) - Method in class top.focess.qq.api.command.converter.PermissionDataConverter
 
convert(String) - Method in class top.focess.qq.api.command.converter.PluginDataConverter
 
createSection(String) - Method in class top.focess.qq.api.util.session.Session
 

D

DataCollection - Class in top.focess.qq.api.command
Store and parser arguments for better CommandExecutor usage.
DataCollection() - Constructor for class top.focess.qq.api.command.DataCollection
 
DataConverterType - Annotation Type in top.focess.qq.api.command.converter
Represent this field is a DataConverter
debug(String) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with DEBUG level
debugLang(String, Object...) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with DEBUG level
DefaultConfig - Class in top.focess.qq.api.util.config
Represents a default config named "config.yml" in the plugin folder.
DefaultConfig(File) - Constructor for class top.focess.qq.api.util.config.DefaultConfig
 
DefaultConfig(YamlConfiguration) - Constructor for class top.focess.qq.api.util.config.DefaultConfig
 
delete() - Method in interface top.focess.qq.api.bot.contact.Friend
Delete the friend
deleteFriend(Friend) - Method in interface top.focess.qq.api.bot.Bot
Delete a friend
deserialize(Map<String, Object>) - Static method in class top.focess.qq.api.plugin.Plugin
 
disable() - Method in class top.focess.qq.api.plugin.LazyPlugin
 
disable() - Method in class top.focess.qq.api.plugin.Plugin
Used to save some data of the plugin
disable() - Method in class top.focess.qq.FocessQQ.MainPlugin
 
disconnect(String) - Method in class top.focess.qq.api.net.ServerReceiver
 

E

enable() - Method in class top.focess.qq.api.plugin.LazyPlugin
 
enable() - Method in class top.focess.qq.api.plugin.Plugin
Used to initialize the plugin
enable() - Method in class top.focess.qq.FocessQQ.MainPlugin
 
equals(Object) - Method in class top.focess.qq.api.plugin.Plugin
 
equals(Object) - Method in class top.focess.qq.api.command.CommandSender
 
Event - Class in top.focess.qq.api.event
This is the base class of Event Chain.
Event() - Constructor for class top.focess.qq.api.event.Event
 
EventHandler - Annotation Type in top.focess.qq.api.event
Represent an event listener method.
EventManager - Class in top.focess.qq.api.event
This class is used to submit Event for developers.
EventManager() - Constructor for class top.focess.qq.api.event.EventManager
 
EventPriority - Enum in top.focess.qq.api.event
This class is used to define the priority of the event listener to better define the whole event chain
EventSubmitException - Exception in top.focess.qq.api.event
Thrown to indicate there is any invalid section in Event Submit Chain
EventSubmitException(Event) - Constructor for exception top.focess.qq.api.event.EventSubmitException
Constructs a EventSubmitException
EventSubmitException(Event, String) - Constructor for exception top.focess.qq.api.event.EventSubmitException
Constructs a EventSubmitException
exec(String) - Static method in class top.focess.qq.api.command.CommandLine
Execute command using CommandSender.CONSOLE
exec(String) - Method in class top.focess.qq.api.command.CommandSender
Execute command with this CommandSender
exec(CommandSender, String) - Static method in class top.focess.qq.api.command.CommandLine
Execute command with sender
exec(CommandSender, String, IOHandler) - Static method in class top.focess.qq.api.command.CommandLine
Execute command with sender executing and ioHandler receiving
execute(CommandSender, String[], IOHandler, int, String) - Method in class top.focess.qq.api.command.Command
Execute the command with special arguments
execute(CommandSender, DataCollection, IOHandler) - Method in interface top.focess.qq.api.command.CommandExecutor
 
execute(CommandSender, DataCollection, IOHandler) - Method in interface top.focess.qq.api.command.CommandExecutor
Used to execute the command under certain conditions
exit() - Static method in class top.focess.qq.FocessQQ
Exit FocessQQ Framework.

F

fatal(String) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with ERROR level
fatalLang(String, Object...) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with ERROR level
flip() - Method in class top.focess.qq.api.command.data.CommandBuffer
 
flip() - Method in class top.focess.qq.api.command.data.PermissionBuffer
 
flip() - Method in class top.focess.qq.api.command.data.PluginBuffer
 
FocessLogger - Class in top.focess.qq.api.util.logger
This is a logger util class.
FocessLogger() - Constructor for class top.focess.qq.api.util.logger.FocessLogger
 
FocessQQ - Class in top.focess.qq
 
FocessQQ() - Constructor for class top.focess.qq.FocessQQ
 
FocessQQ.MainPlugin - Class in top.focess.qq
The MainPlugin Plugin is a core plugin in Bot.
Friend - Interface in top.focess.qq.api.bot.contact
Represents a friend.
FriendChatEvent - Class in top.focess.qq.api.event.chat
Called when a friend chat with bot
FriendChatEvent(Bot, Friend, Message, MessageSource) - Constructor for class top.focess.qq.api.event.chat.FriendChatEvent
Constructs a FriendChatEvent
FriendInputStatusEvent - Class in top.focess.qq.api.event.bot
Called when friend input status is changed
FriendInputStatusEvent(Bot, Friend, boolean) - Constructor for class top.focess.qq.api.event.bot.FriendInputStatusEvent
Constructs a FriendInputStatusEvent
FriendMessageEvent - Class in top.focess.qq.api.event.message
Called when a friend chat with bot (this does not execute any commands)
FriendMessageEvent(Bot, Friend, Message, MessageSource) - Constructor for class top.focess.qq.api.event.message.FriendMessageEvent
Constructs a FriendMessageEvent
FriendRecallEvent - Class in top.focess.qq.api.event.recall
Called when a Friend recall a message
FriendRecallEvent(Bot, Friend, int[]) - Constructor for class top.focess.qq.api.event.recall.FriendRecallEvent
Constructs a FriendRecallEvent
FriendRequestEvent - Class in top.focess.qq.api.event.request
Called when a friend-request comes
FriendRequestEvent(Bot, long, String, Group, String) - Constructor for class top.focess.qq.api.event.request.FriendRequestEvent
Constructs a FriendRequestEvent

G

get() - Method in class top.focess.qq.api.command.data.CommandBuffer
 
get() - Method in class top.focess.qq.api.command.data.PermissionBuffer
 
get() - Method in class top.focess.qq.api.command.data.PluginBuffer
 
get(int) - Method in class top.focess.qq.api.command.data.CommandBuffer
 
get(int) - Method in class top.focess.qq.api.command.data.PermissionBuffer
 
get(int) - Method in class top.focess.qq.api.command.data.PluginBuffer
 
get(String) - Method in class top.focess.qq.api.util.config.Config
Get the value of the specified key
get(String) - Method in class top.focess.qq.api.util.config.DefaultConfig
 
get(String) - Method in class top.focess.qq.api.util.config.LangConfig
 
get(String) - Static method in class top.focess.qq.api.util.Property
Get the value of the key in the properties
get(String) - Method in class top.focess.qq.api.util.session.Session
 
get(String, Map<String, Object>, Map<String, String>) - Method in class top.focess.qq.api.util.network.NetworkHandler
 
getAccept() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getAccept() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
 
getAdministrator() - Static method in class top.focess.qq.FocessQQ
Get Administrator as a Friend
getAdministratorId() - Static method in class top.focess.qq.FocessQQ
 
getAliases() - Method in class top.focess.qq.api.command.Command
 
getAppId() - Method in interface top.focess.qq.api.bot.contact.OtherClient
The device appid of this client
getArgs() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getArgs() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
getAsFriend() - Method in interface top.focess.qq.api.bot.Bot
Get the bot itself as a friend
getAsMember() - Method in interface top.focess.qq.api.bot.contact.Group
Get the bot self as a member
getAsMember(Group) - Method in interface top.focess.qq.api.bot.Bot
Get the bot as a member in the group
getAuthor() - Method in class top.focess.qq.api.plugin.Plugin
 
getAuthor() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getAvatarUrl() - Method in interface top.focess.qq.api.bot.contact.Friend
Get the friend's avatar url
getBot() - Method in interface top.focess.qq.api.bot.contact.Contact
Get the contact bot
getBot() - Method in class top.focess.qq.api.command.CommandSender
Get the bot
getBot() - Method in class top.focess.qq.api.event.bot.BotEvent
 
getBot() - Static method in class top.focess.qq.FocessQQ
 
getBot(long) - Method in interface top.focess.qq.api.bot.BotManager
Get the bot with special id
getBotId() - Method in class top.focess.qq.api.bot.message.MessageSource
Get the bot id
getBotManager() - Method in interface top.focess.qq.api.bot.Bot
Get the Bot Manager of the bot
getBotManager() - Static method in class top.focess.qq.FocessQQ
 
getBotProtocol() - Method in interface top.focess.qq.api.bot.Bot
 
getBots() - Method in interface top.focess.qq.api.bot.BotManager
Get the list of bots
getCardName() - Method in interface top.focess.qq.api.bot.contact.Member
Get the name in the group
getClient(String) - Method in class top.focess.qq.api.net.ServerReceiver
 
getClientId() - Method in class top.focess.qq.api.net.ClientReceiver
 
getClientReceiver() - Static method in class top.focess.qq.FocessQQ
 
getClients(String) - Method in class top.focess.qq.api.net.ServerMultiReceiver
 
getClientToken() - Method in class top.focess.qq.api.net.ClientReceiver
 
getCommand() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getCommand() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
getCommands() - Static method in class top.focess.qq.api.command.Command
Get all commands
getCommandSender() - Method in interface top.focess.qq.api.bot.contact.CommandExecutor
 
getConsoleIoHandler() - Static method in class top.focess.qq.api.util.IOHandler
 
getContact() - Method in class top.focess.qq.api.event.bot.BotSendMessageEvent
 
getDefaultConfig() - Method in class top.focess.qq.api.plugin.Plugin
 
getDefaultFolder() - Method in class top.focess.qq.api.plugin.Plugin
 
getDependencies() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getDeviceKind() - Method in interface top.focess.qq.api.bot.contact.OtherClient
The device type of this client
getDeviceName() - Method in interface top.focess.qq.api.bot.contact.OtherClient
The device name of this client
getExecutorPermission() - Method in class top.focess.qq.api.command.Command
 
getFile() - Method in class top.focess.qq.api.plugin.Plugin
Get the plugin jar file
getFile() - Method in class top.focess.qq.api.util.config.Config
Get the file of this configuration
getFriend() - Method in class top.focess.qq.api.command.CommandSender
Get the friend, or null if this CommandSender does not present a friend
getFriend() - Method in class top.focess.qq.api.event.bot.FriendInputStatusEvent
 
getFriend() - Method in class top.focess.qq.api.event.chat.FriendChatEvent
 
getFriend() - Method in class top.focess.qq.api.event.message.FriendMessageEvent
 
getFriend() - Method in class top.focess.qq.api.event.recall.FriendRecallEvent
 
getFriend(long) - Method in interface top.focess.qq.api.bot.Bot
Get the friend with special id
getFriend(long) - Static method in class top.focess.qq.FocessQQ
Get the Friend Mirai instance by its id
getFriendOrFail(long) - Method in interface top.focess.qq.api.bot.Bot
Get the friend with special id
getFriends() - Method in interface top.focess.qq.api.bot.Bot
Get all the friends
getGroup() - Method in interface top.focess.qq.api.bot.contact.Member
Get the group
getGroup() - Method in class top.focess.qq.api.event.chat.GroupChatEvent
Get the Group Mirai instance of the member
getGroup() - Method in class top.focess.qq.api.event.message.GroupMessageEvent
Get the Group Mirai instance of the member
getGroup() - Method in class top.focess.qq.api.event.recall.GroupRecallEvent
Get the Group where the member recalls the message
getGroup() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getGroup(long) - Method in interface top.focess.qq.api.bot.Bot
Get the group with special id
getGroup(long) - Static method in class top.focess.qq.FocessQQ
Get the Group Mirai instance by its id
getGroupOrFail(long) - Method in interface top.focess.qq.api.bot.Bot
Get the group with special id
getGroups() - Method in interface top.focess.qq.api.bot.Bot
Get all the groups
getHost() - Method in class top.focess.qq.api.net.ClientReceiver
 
getId() - Method in interface top.focess.qq.api.bot.Bot
Get the id of the bot
getId() - Method in interface top.focess.qq.api.bot.contact.Contact
Get the contact id
getId() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getId() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
 
getIds() - Method in class top.focess.qq.api.bot.message.MessageSource
Get the message ids
getInternalIds() - Method in class top.focess.qq.api.bot.message.MessageSource
Get the message internal ids
getInvitor() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
 
getIoHandler() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getIoHandler() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
getIOHandler() - Method in class top.focess.qq.api.command.CommandSender
Get the receiver by this CommandSender
getLangConfig() - Method in class top.focess.qq.api.plugin.Plugin
 
getLangConfig() - Static method in class top.focess.qq.FocessQQ
 
getLimitVersion() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getLogger() - Static method in class top.focess.qq.FocessQQ
 
getMain() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getMainPlugin() - Static method in class top.focess.qq.FocessQQ
 
getMember() - Method in class top.focess.qq.api.command.CommandSender
Get the member, or null if this CommandSender does not present a member
getMember() - Method in class top.focess.qq.api.event.chat.GroupChatEvent
 
getMember() - Method in class top.focess.qq.api.event.group.MemberCardNameChangeEvent
 
getMember() - Method in class top.focess.qq.api.event.group.MemberCommandPermissionChangeEvent
 
getMember() - Method in class top.focess.qq.api.event.message.GroupMessageEvent
 
getMember() - Method in class top.focess.qq.api.event.recall.GroupRecallEvent
 
getMember(long) - Method in interface top.focess.qq.api.bot.contact.Group
Get the group's member
getMember(Group, long) - Method in interface top.focess.qq.api.bot.Bot
Get the member by its group and id
getMemberOrFail(long) - Method in interface top.focess.qq.api.bot.contact.Group
Get the group's member
getMemberOrFail(Group, long) - Method in interface top.focess.qq.api.bot.Bot
Get the member by its group and id
getMembers() - Method in interface top.focess.qq.api.bot.contact.Group
Get the group's all members
getMembers(Group) - Method in interface top.focess.qq.api.bot.Bot
Get all the members in the group
getMessage() - Method in class top.focess.qq.api.event.bot.BotPreSendMessageEvent
 
getMessage() - Method in class top.focess.qq.api.event.bot.BotSendMessageEvent
 
getMessage() - Method in class top.focess.qq.api.event.chat.ChatEvent
 
getMessage() - Method in class top.focess.qq.api.event.chat.ConsoleChatEvent
 
getMessage() - Method in class top.focess.qq.api.event.message.ConsoleMessageEvent
 
getMessage() - Method in class top.focess.qq.api.event.message.MessageEvent
 
getMessage() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getMessageIds() - Method in class top.focess.qq.api.event.recall.FriendRecallEvent
 
getMessageIds() - Method in class top.focess.qq.api.event.recall.GroupRecallEvent
 
getName() - Method in interface top.focess.qq.api.bot.contact.Contact
Get the contact name
getName() - Method in class top.focess.qq.api.command.Command
 
getName() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
 
getName() - Method in class top.focess.qq.api.net.ClientReceiver
 
getName() - Method in class top.focess.qq.api.plugin.Plugin
 
getName() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getNewCardName() - Method in class top.focess.qq.api.event.group.MemberCardNameChangeEvent
 
getNewPermission() - Method in class top.focess.qq.api.event.group.MemberCommandPermissionChangeEvent
 
getNick() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getOldCardName() - Method in class top.focess.qq.api.event.group.MemberCardNameChangeEvent
 
getOldPermission() - Method in class top.focess.qq.api.event.group.MemberCommandPermissionChangeEvent
 
getOperator() - Method in class top.focess.qq.api.event.recall.GroupRecallEvent
 
getOptions() - Static method in class top.focess.qq.FocessQQ
 
getOrDefault(String, T) - Method in class top.focess.qq.api.util.config.DefaultConfig
 
getOrDefault(String, T) - Static method in class top.focess.qq.api.util.Property
Get the value of the key in the properties or default value if the key is not existed
getOrDefault(String, T) - Method in class top.focess.qq.api.util.session.Session
 
getOtherClient(long) - Method in interface top.focess.qq.api.bot.Bot
Get the other client by its specific id
getOtherClientOrFail(long) - Method in interface top.focess.qq.api.bot.Bot
Get the other client by its specific id
getParent() - Method in class top.focess.qq.api.util.session.SessionSection
Get the parent section
getPermission() - Method in interface top.focess.qq.api.bot.contact.Member
Get the member's permission in group
getPermission() - Method in class top.focess.qq.api.command.Command
 
getPermissions() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getPlugin() - Method in interface top.focess.qq.api.bot.Bot
Get the plugin of the bot
getPlugin() - Method in class top.focess.qq.api.command.Command
 
getPlugin() - Method in interface top.focess.qq.api.event.Listener
Get the plugin that this listener belongs to
getPlugin() - Method in class top.focess.qq.api.event.plugin.PluginEvent
 
getPlugin() - Method in class top.focess.qq.api.util.network.NetworkHandler
 
getPlugin(Class<? extends Plugin>) - Static method in class top.focess.qq.api.plugin.Plugin
Get Plugin instance by the class instance
getPlugin(Class<? extends Plugin>) - Static method in class top.focess.qq.FocessQQ
Get the plugin by its class
getPlugin(String) - Static method in class top.focess.qq.api.plugin.Plugin
Get Plugin instance by the name
getPlugin(String) - Static method in class top.focess.qq.FocessQQ
Get the plugin by its name
getPluginDescription() - Method in class top.focess.qq.api.plugin.Plugin
 
getPlugins() - Static method in class top.focess.qq.api.plugin.Plugin
Get all the loaded plugins
getPlugins() - Static method in class top.focess.qq.FocessQQ
Get all the loaded plugins
getPort() - Method in class top.focess.qq.api.net.ClientReceiver
 
getPriority() - Method in enum top.focess.qq.api.event.EventPriority
 
getProperties() - Static method in class top.focess.qq.FocessQQ.MainPlugin
 
getRawName() - Method in interface top.focess.qq.api.bot.contact.Friend
Get the friend's raw name (its nickname)
getRawName() - Method in interface top.focess.qq.api.bot.contact.Member
Get the member's raw name (its nickname)
getRawName() - Method in interface top.focess.qq.api.bot.contact.Stranger
Get the stranger's raw name (its nickname)
getRequireVersion() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getResult() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getSection(String) - Method in class top.focess.qq.api.util.config.Config
Get the section named key Note: if the section named key does not exist, it will be created
getSection(String) - Method in class top.focess.qq.api.util.config.DefaultConfig
 
getSection(String) - Method in class top.focess.qq.api.util.config.LangConfig
 
getSection(String) - Method in class top.focess.qq.api.util.session.Session
 
getSender() - Method in class top.focess.qq.api.bot.message.MessageSource
Get the sender id
getSender() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getSender() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
getServerReceiver() - Static method in class top.focess.qq.FocessQQ
 
getSession() - Method in class top.focess.qq.api.command.CommandSender
Get Session of the CommandSender.
getSocket() - Static method in class top.focess.qq.FocessQQ
 
getSoftDependencies() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getSource() - Method in class top.focess.qq.api.event.chat.ChatEvent
 
getSource() - Method in class top.focess.qq.api.event.chat.FriendChatEvent
 
getSource() - Method in class top.focess.qq.api.event.message.MessageEvent
 
getStranger() - Method in class top.focess.qq.api.command.CommandSender
Get the stranger, or null if this CommandSender does not present a stranger
getStranger() - Method in class top.focess.qq.api.event.chat.StrangerChatEvent
 
getStranger() - Method in class top.focess.qq.api.event.message.StrangerMessageEvent
 
getStranger(long) - Method in interface top.focess.qq.api.bot.Bot
Get the stranger by its specific id
getStrangerOrFail(long) - Method in interface top.focess.qq.api.bot.Bot
Get the stranger by its specific id
getTarget() - Method in class top.focess.qq.api.bot.message.MessageSource
Get the target id
getTarget() - Method in class top.focess.qq.api.event.bot.BotPreSendMessageEvent
 
getTargetClass() - Method in class top.focess.qq.api.command.converter.CommandDataConverter
 
getTargetClass() - Method in class top.focess.qq.api.command.converter.PermissionDataConverter
 
getTargetClass() - Method in class top.focess.qq.api.command.converter.PluginDataConverter
 
getText() - Method in class top.focess.qq.api.bot.message.TextMessage
 
getTime() - Method in class top.focess.qq.api.bot.message.MessageSource
Get the sending time
getUdpServerMultiReceiver() - Static method in class top.focess.qq.FocessQQ
 
getUdpServerReceiver() - Static method in class top.focess.qq.FocessQQ
 
getUdpSocket() - Static method in class top.focess.qq.FocessQQ
 
getUsername() - Static method in class top.focess.qq.FocessQQ
 
getValues() - Method in class top.focess.qq.api.util.config.Config
Get all the configuration as a map
getValues() - Method in class top.focess.qq.api.util.config.DefaultConfig
 
getValues() - Method in class top.focess.qq.api.util.session.Session
 
getVersion() - Method in class top.focess.qq.api.plugin.Plugin
 
getVersion() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getVersion() - Static method in class top.focess.qq.FocessQQ
 
Group - Interface in top.focess.qq.api.bot.contact
Represents a group.
GroupChatEvent - Class in top.focess.qq.api.event.chat
Called when a member who chats in the group the bot is in
GroupChatEvent(Bot, Member, Message, MessageSource) - Constructor for class top.focess.qq.api.event.chat.GroupChatEvent
Constructs a GroupChatEvent
GroupMessageEvent - Class in top.focess.qq.api.event.message
Called when a member who chats in the group the bot is in (this does not execute any commands)
GroupMessageEvent(Bot, Member, Message, MessageSource) - Constructor for class top.focess.qq.api.event.message.GroupMessageEvent
Constructs a GroupMessageEvent
GroupRecallEvent - Class in top.focess.qq.api.event.recall
Called when a Member recall a message in a Group
GroupRecallEvent(Bot, Member, int[], Member) - Constructor for class top.focess.qq.api.event.recall.GroupRecallEvent
Constructs a GroupRecallEvent
GroupRequestEvent - Class in top.focess.qq.api.event.request
Called when a group-request comes
GroupRequestEvent(Bot, long, String, Friend) - Constructor for class top.focess.qq.api.event.request.GroupRequestEvent
Constructs a GroupRecallEvent

H

handle(String, CommandSender, Command, String[], int, String...) - Method in interface top.focess.qq.api.command.SpecialArgumentComplexHandler
Handle the special argument
handle(String, CommandSender, Command, String[], int, String...) - Method in interface top.focess.qq.api.command.SpecialArgumentHandler
 
handle(CommandSender, Command, String[], int) - Method in interface top.focess.qq.api.command.SpecialArgumentHandler
Handle the special argument
hasAdministratorId() - Static method in class top.focess.qq.FocessQQ
 
hashCode() - Method in class top.focess.qq.api.command.CommandSender
 
hashCode() - Method in class top.focess.qq.api.plugin.Plugin
 
hasInput(int) - Method in class top.focess.qq.api.util.IOHandler
Indicate there needs an input String and wait for the seconds
hasKey(String) - Static method in class top.focess.qq.api.util.Property
Indicate whether it has the key or not
hasPermission(CommandPermission) - Method in class top.focess.qq.api.command.CommandSender
Indicate this CommandSender owns the permission
hasPermission(Permission) - Method in class top.focess.qq.api.plugin.PluginDescription
 
HIGH - top.focess.qq.api.event.EventPriority
 
HIGHER - top.focess.qq.api.event.EventPriority
 
HIGHEST - top.focess.qq.api.event.EventPriority
 

I

ignore() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
Ignore the request
IllegalCommandClassException - Exception in top.focess.qq.api.command
Thrown to indicate this class is an illegal Command class
IllegalCommandClassException(Class<?>) - Constructor for exception top.focess.qq.api.command.IllegalCommandClassException
Constructs a IllegalCommandClassException
IllegalDataConverterClassException - Exception in top.focess.qq.api.command.converter
Thrown to indicate this class is an illegal DataConverter class
IllegalDataConverterClassException(Class<?>) - Constructor for exception top.focess.qq.api.command.converter.IllegalDataConverterClassException
Constructs a IllegalDataConverterClassException
IllegalDataConverterClassException(Class<? extends DataConverter>, Exception) - Constructor for exception top.focess.qq.api.command.converter.IllegalDataConverterClassException
Constructs a IllegalDataConverterClassException
IllegalListenerClassException - Exception in top.focess.qq.api.event
Thrown to indicate this class is an illegal Listener class
IllegalListenerClassException(Class<?>) - Constructor for exception top.focess.qq.api.event.IllegalListenerClassException
Constructs a IllegalListenerClassException
IllegalListenerClassException(Class<? extends Listener>, Exception) - Constructor for exception top.focess.qq.api.event.IllegalListenerClassException
Constructs a IllegalListenerClassException
IllegalPluginClassException - Exception in top.focess.qq.api.plugin
Thrown to indicate this class is an illegal Plugin class
IllegalPluginClassException(Class<?>) - Constructor for exception top.focess.qq.api.plugin.IllegalPluginClassException
Constructs a IllegalPluginClassException
IllegalSpecialArgumentComplexHandlerClassException - Exception in top.focess.qq.api.command
Thrown to indicate this class is an illegal SpecialArgumentHandler class
IllegalSpecialArgumentComplexHandlerClassException(Class<?>) - Constructor for exception top.focess.qq.api.command.IllegalSpecialArgumentComplexHandlerClassException
Constructs a new IllegalSpecialArgumentHandlerClassException
IllegalSpecialArgumentComplexHandlerClassException(Class<? extends SpecialArgumentComplexHandler>, Exception) - Constructor for exception top.focess.qq.api.command.IllegalSpecialArgumentComplexHandlerClassException
Constructs a new IllegalSpecialArgumentHandlerClassException
Image - Interface in top.focess.qq.api.bot.message
 
info(String) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with INFO level
infoLang(String, Object...) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with INFO level
infoUsage(CommandSender, IOHandler) - Method in class top.focess.qq.api.command.Command
 
init() - Method in class top.focess.qq.api.command.Command
Used to initialize the command (the primary goal is to define the default executors)
initialize(PluginDescription) - Method in class top.focess.qq.api.plugin.Plugin
 
input(Message) - Method in class top.focess.qq.api.util.IOHandler
 
input(DataConverter<T>) - Method in class top.focess.qq.api.util.IOHandler
Used to convert the input String into the target type
inputMessage() - Method in class top.focess.qq.api.util.IOHandler
 
IOHandler - Class in top.focess.qq.api.util
This class is used to handle input and output when executing Command.
IOHandler() - Constructor for class top.focess.qq.api.util.IOHandler
 
IPAD - top.focess.qq.api.bot.BotProtocol
 
isAdministrator() - Method in interface top.focess.qq.api.bot.Bot
Indicate this is the Administrator
isAdministrator() - Method in class top.focess.qq.api.command.CommandSender
Indicate this is an Administrator
isBlackList() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
Indicate add this stranger to blacklist
isCancelled() - Method in interface top.focess.qq.api.event.Cancellable
Indicate this event is cancelled
isCancelled() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
isClientSide() - Method in class top.focess.qq.api.net.Socket
 
isConnected() - Method in class top.focess.qq.api.net.ClientReceiver
 
isConnected(String) - Method in class top.focess.qq.api.net.ServerReceiver
 
isConsole() - Method in class top.focess.qq.api.command.CommandSender
Indicate whether it is CONSOLE
isDebugOutput() - Method in class top.focess.qq.api.util.logger.FocessLogger
Get debug output status
isDefaultBot() - Method in interface top.focess.qq.api.bot.Bot
Indicate this is the default bot
isEnabled() - Method in class top.focess.qq.api.plugin.Plugin
 
isFriend() - Method in class top.focess.qq.api.command.CommandSender
Indicate this is a friend
isInitialized() - Method in class top.focess.qq.api.plugin.Plugin
Indicate whether the plugin is initialized or not
isInput() - Method in class top.focess.qq.api.event.bot.FriendInputStatusEvent
 
isMember() - Method in class top.focess.qq.api.command.CommandSender
Indicate this is a member
isNeedUpdate() - Method in class top.focess.qq.api.event.bot.BotPreSendMessageEvent
 
isOffline() - Method in interface top.focess.qq.api.bot.Bot
Indicate the bot is offline
isOnline() - Method in interface top.focess.qq.api.bot.Bot
Indicate the bot is online
isPrevent() - Method in class top.focess.qq.api.event.Event
 
isRegistered() - Method in class top.focess.qq.api.command.Command
 
isRunning() - Static method in class top.focess.qq.FocessQQ
 
isServerSide() - Method in class top.focess.qq.api.net.Socket
 
isStranger() - Method in class top.focess.qq.api.command.CommandSender
Indicate whether this is a stranger

J

JSON - Static variable in class top.focess.qq.api.util.network.NetworkHandler
 

L

LangConfig - Class in top.focess.qq.api.util.config
Represents a language config named "lang.yml" in the plugin jar file.
LangConfig(InputStream) - Constructor for class top.focess.qq.api.util.config.LangConfig
 
LangConfig(File) - Constructor for class top.focess.qq.api.util.config.LangConfig
 
LazyPlugin - Class in top.focess.qq.api.plugin
This is lazy version of the plugin.
LazyPlugin() - Constructor for class top.focess.qq.api.plugin.LazyPlugin
Initialize a Plugin instance.
Listener - Interface in top.focess.qq.api.event
This class is used to indicate this is an event listener
ListenerHandler - Class in top.focess.qq.api.event
This class is used to help invoke listener methods
ListenerHandler() - Constructor for class top.focess.qq.api.event.ListenerHandler
 
listeners - Variable in class top.focess.qq.api.event.ListenerHandler
 
ListenerType - Annotation Type in top.focess.qq.api.event
Represent this class is a Listener.
loadResource(String) - Method in class top.focess.qq.api.plugin.Plugin
Get the resource of the plugin
login() - Method in interface top.focess.qq.api.bot.Bot
Login the bot
login(long, String, Plugin) - Method in interface top.focess.qq.api.bot.BotManager
Login and get the bot with id and password
login(long, String, Plugin, BotProtocol) - Method in interface top.focess.qq.api.bot.BotManager
Login and get the bot with id and password
login(Bot) - Method in interface top.focess.qq.api.bot.BotManager
Login the bot
loginDirectly(long, String, Plugin) - Method in interface top.focess.qq.api.bot.BotManager
Login and get the bot with id and password
loginDirectly(long, String, Plugin, BotProtocol) - Method in interface top.focess.qq.api.bot.BotManager
Login and get the bot with id and password
logout() - Method in interface top.focess.qq.api.bot.Bot
Logout the bot
logout(Bot) - Method in interface top.focess.qq.api.bot.BotManager
Logout the bot
LOW - top.focess.qq.api.event.EventPriority
 
LOWER - top.focess.qq.api.event.EventPriority
 
LOWEST - top.focess.qq.api.event.EventPriority
 

M

MACOS - top.focess.qq.api.bot.BotProtocol
 
main(String[]) - Static method in class top.focess.qq.FocessQQ
 
MainPlugin() - Constructor for class top.focess.qq.FocessQQ.MainPlugin
 
Member - Interface in top.focess.qq.api.bot.contact
Represents a member in a group.
MemberCardNameChangeEvent - Class in top.focess.qq.api.event.group
Called after member's card name changed
MemberCardNameChangeEvent(Member, String, String) - Constructor for class top.focess.qq.api.event.group.MemberCardNameChangeEvent
Constructs a MemberCardNameChangeEvent
MemberCommandPermissionChangeEvent - Class in top.focess.qq.api.event.group
Called after member's permission changed
MemberCommandPermissionChangeEvent(Member, CommandPermission, CommandPermission) - Constructor for class top.focess.qq.api.event.group.MemberCommandPermissionChangeEvent
Constructs a MemberCommandPermissionChangeEvent
Message - Interface in top.focess.qq.api.bot.message
Represents a message.
MessageEvent - Class in top.focess.qq.api.event.message
Called when a friend chat with bot or a member chat in a group the bot is in (this does not execute any commands)
MessageEvent(Bot, Message, MessageSource) - Constructor for class top.focess.qq.api.event.message.MessageEvent
Constructs a MessageEvent
MessageSource - Class in top.focess.qq.api.bot.message
Represents a message source.
MessageSource() - Constructor for class top.focess.qq.api.bot.message.MessageSource
 

N

name() - Method in annotation type top.focess.qq.api.command.CommandType
Set the name of the command
name() - Method in annotation type top.focess.qq.api.command.SpecialArgumentType
The name of the special argument
NetworkHandler - Class in top.focess.qq.api.util.network
This is a network util class.
NetworkHandler(Plugin) - Constructor for class top.focess.qq.api.util.network.NetworkHandler
Initialize a new network handler with default options
NetworkHandler(Plugin, NetworkHandler.Options) - Constructor for class top.focess.qq.api.util.network.NetworkHandler
Initialize a new network handler with specified options
newFocessScheduler(Plugin) - Static method in class top.focess.qq.api.scheduler.Schedulers
New a FocessScheduler, the scheduler will run all tasks in time order.
newFocessScheduler(Plugin, String) - Static method in class top.focess.qq.api.scheduler.Schedulers
New a FocessScheduler, the scheduler will run all tasks in time order.
newThreadPoolScheduler(Plugin, int) - Static method in class top.focess.qq.api.scheduler.Schedulers
New a ThreadPoolScheduler, the scheduler can run tasks in parallel.
newThreadPoolScheduler(Plugin, int, boolean, String) - Static method in class top.focess.qq.api.scheduler.Schedulers
New a ThreadPoolScheduler, the scheduler can run tasks in parallel.
NORMAL - top.focess.qq.api.event.EventPriority
 
notCallIfCancelled() - Method in annotation type top.focess.qq.api.event.EventHandler
Set whether this method should be called when the event is cancelled
notCallIfPrevented() - Method in annotation type top.focess.qq.api.event.EventHandler
Set whether this method should be called when the event is prevented

O

of(CommandExecutor) - Static method in class top.focess.qq.api.command.CommandSender
Get the CommandSender by CommandExecutor
onDisable() - Method in class top.focess.qq.api.plugin.Plugin
 
onEnable() - Method in class top.focess.qq.api.plugin.Plugin
 
OtherClient - Interface in top.focess.qq.api.bot.contact
Represents a client.
outputLang(String, Object...) - Method in class top.focess.qq.api.util.IOHandler
Used to output formatted language key

P

PERMISSION_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.converter.PermissionDataConverter
 
PermissionBuffer - Class in top.focess.qq.api.command.data
 
PermissionBuffer(int) - Constructor for class top.focess.qq.api.command.data.PermissionBuffer
 
PermissionDataConverter - Class in top.focess.qq.api.command.converter
 
PermissionDataConverter() - Constructor for class top.focess.qq.api.command.converter.PermissionDataConverter
 
plugin() - Static method in class top.focess.qq.api.plugin.Plugin
Get the plugin by its caller class Note: this method will not return null.
Plugin - Class in top.focess.qq.api.plugin
Represent a Plugin class that can be load, enable and disable.
Plugin() - Constructor for class top.focess.qq.api.plugin.Plugin
Initialize a Plugin Instance.
PLUGIN_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.converter.PluginDataConverter
Convert the String argument to Plugin argument
PluginBuffer - Class in top.focess.qq.api.command.data
Represent a buffer of Plugin.
PluginDataConverter - Class in top.focess.qq.api.command.converter
Convert the String argument to Plugin argument
PluginDataConverter() - Constructor for class top.focess.qq.api.command.converter.PluginDataConverter
 
PluginDescription - Class in top.focess.qq.api.plugin
The description of plugin.
PluginDescription(YamlConfiguration) - Constructor for class top.focess.qq.api.plugin.PluginDescription
Constructs a new PluginDescription from the plugin config
PluginDuplicateException - Exception in top.focess.qq.api.plugin
Thrown to indicate there is an existed plugin named this name
PluginDuplicateException(String, String) - Constructor for exception top.focess.qq.api.plugin.PluginDuplicateException
Constructs a PluginDuplicateException
PluginEvent - Class in top.focess.qq.api.event.plugin
Called when a plugin triggers a special action
PluginEvent(Plugin) - Constructor for class top.focess.qq.api.event.plugin.PluginEvent
Constructs a PluginEvent
PluginLoaderException - Exception in top.focess.qq.api.plugin
Thrown to indicate none-MainPlugin plugin is not loaded by PluginClassLoader
PluginLoaderException(String) - Constructor for exception top.focess.qq.api.plugin.PluginLoaderException
Constructs a PluginLoaderException
PluginLoadEvent - Class in top.focess.qq.api.event.plugin
Called when a plugin is loaded
PluginLoadEvent(Plugin) - Constructor for class top.focess.qq.api.event.plugin.PluginLoadEvent
Constructs a PluginLoadEvent
PluginLoadException - Exception in top.focess.qq.api.plugin
Thrown to indicate there is any exception thrown in the initializing process
PluginLoadException(Class<? extends Plugin>, Throwable) - Constructor for exception top.focess.qq.api.plugin.PluginLoadException
Constructs a PluginLoadException
PluginType - Annotation Type in top.focess.qq.api.plugin
Represent this class is a Plugin.
PluginUnloadEvent - Class in top.focess.qq.api.event.plugin
Called when a plugin is unloaded
PluginUnloadEvent(Plugin) - Constructor for class top.focess.qq.api.event.plugin.PluginUnloadEvent
Constructs a PluginUnloadEvent
PluginUnloadException - Exception in top.focess.qq.api.plugin
Thrown to indicate this plugin should be disabled.
PluginUnloadException() - Constructor for exception top.focess.qq.api.plugin.PluginUnloadException
 
post(String, Map<String, Object>, Map<String, String>, MediaType) - Method in class top.focess.qq.api.util.network.NetworkHandler
 
prevent() - Method in class top.focess.qq.api.event.Event
Prevent submitting in the future Event Chain
priority() - Method in annotation type top.focess.qq.api.event.EventHandler
Set the priority of this event listener method
Property - Class in top.focess.qq.api.util
Store some default properties of this framework.
put(Command) - Method in class top.focess.qq.api.command.data.CommandBuffer
 
put(Plugin) - Method in class top.focess.qq.api.command.data.PluginBuffer
 
put(String, Object) - Static method in class top.focess.qq.api.util.Property
Set the property
put(String, Map<String, Object>, Map<String, String>, MediaType) - Method in class top.focess.qq.api.util.network.NetworkHandler
 
put(Permission) - Method in class top.focess.qq.api.command.data.PermissionBuffer
 

Q

quit() - Method in interface top.focess.qq.api.bot.contact.Group
Quit the group
quitGroup(Group) - Method in interface top.focess.qq.api.bot.Bot
Quit a group

R

receiver - Variable in class top.focess.qq.api.net.ServerReceiver
 
refuse() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
Refuse this request
refuse(boolean) - Method in class top.focess.qq.api.event.request.FriendRequestEvent
Refuse this request and add blacklist to it or not
register(Plugin, Command) - Static method in class top.focess.qq.api.command.Command
Register the command
register(Listener, Method, EventHandler) - Method in class top.focess.qq.api.event.ListenerHandler
Register the listener
register(Plugin, Class<T>, PackHandler<T>) - Method in class top.focess.qq.api.net.ClientReceiver
 
register(Plugin, String, Class<T>, PackHandler<T>) - Method in class top.focess.qq.api.net.ServerReceiver
 
register(Plugin, String, SpecialArgumentComplexHandler) - Static method in class top.focess.qq.api.command.CommandLine
Register the special argument handler
register(Plugin, DataConverter<?>, DataCollection.BufferGetter) - Static method in class top.focess.qq.api.command.DataCollection
Register the getter of the buffer
register(Plugin, Listener) - Static method in class top.focess.qq.api.event.ListenerHandler
Add the listener and bundle to the plugin
registerBuffer(DataConverter<?>, DataCollection.BufferGetter) - Method in class top.focess.qq.api.plugin.Plugin
Register the getter of the buffer
registerCommand(Command) - Method in class top.focess.qq.api.plugin.Plugin
Register the command
registerListener(Listener) - Method in class top.focess.qq.api.plugin.Plugin
Register the listener into the Event chain
registerReceiver(Plugin, Receiver) - Method in class top.focess.qq.api.net.Socket
 
registerSpecialArgumentComplexHandler(String, SpecialArgumentComplexHandler) - Method in class top.focess.qq.api.plugin.Plugin
Register the special argument handler
relogin() - Method in interface top.focess.qq.api.bot.Bot
Relogin the bot
relogin(Bot) - Method in interface top.focess.qq.api.bot.BotManager
Relogin the bot
remove(long) - Method in interface top.focess.qq.api.bot.BotManager
Remove the bot
remove(String) - Method in class top.focess.qq.api.util.config.Config
Remove the configuration named key
remove(String) - Method in class top.focess.qq.api.util.config.DefaultConfig
 
remove(String) - Static method in class top.focess.qq.api.util.Property
Remove the property
remove(String) - Method in class top.focess.qq.api.util.session.Session
 
remove(Plugin) - Method in interface top.focess.qq.api.bot.BotManager
Remove all the bots logined by the plugin
removeAll() - Method in interface top.focess.qq.api.bot.BotManager
Remove all the bots
request(String, Map<String, Object>, Map<String, String>, MediaType, NetworkHandler.RequestType) - Method in class top.focess.qq.api.util.network.NetworkHandler
 
request(String, Map<String, Object>, NetworkHandler.RequestType) - Method in class top.focess.qq.api.util.network.NetworkHandler
 
request(String, NetworkHandler.RequestType) - Method in class top.focess.qq.api.util.network.NetworkHandler
 

S

save() - Method in class top.focess.qq.api.util.config.Config
Save the configuration to the file
save() - Method in class top.focess.qq.api.util.config.DefaultConfig
 
SCHEDULER - Static variable in class top.focess.qq.api.util.IOHandler
 
Schedulers - Class in top.focess.qq.api.scheduler
Used to create Scheduler.
sendMessage(String) - Method in interface top.focess.qq.api.bot.contact.Transmitter
Send a message to this contact
sendMessage(Transmitter, String) - Method in interface top.focess.qq.api.bot.Bot
Send a string message to the transmitter
sendMessage(Transmitter, Message) - Method in interface top.focess.qq.api.bot.Bot
Send a message to the transmitter
sendMessage(Message) - Method in interface top.focess.qq.api.bot.contact.Transmitter
Send a message to this contact
sendPacket(int, Packet) - Method in class top.focess.qq.api.net.ServerMultiReceiver
 
sendPacket(String, Packet) - Method in class top.focess.qq.api.net.ServerReceiver
 
sendPacket(Packet) - Method in class top.focess.qq.api.net.ClientReceiver
 
serialize() - Method in class top.focess.qq.api.plugin.Plugin
 
ServerMultiReceiver - Class in top.focess.qq.api.net
 
ServerMultiReceiver(ServerMultiReceiver) - Constructor for class top.focess.qq.api.net.ServerMultiReceiver
 
ServerReceiver - Class in top.focess.qq.api.net
 
ServerReceiver(ServerReceiver) - Constructor for class top.focess.qq.api.net.ServerReceiver
 
ServerStartEvent - Class in top.focess.qq.api.event.server
Called when MainPlugin is loaded completely
ServerStartEvent() - Constructor for class top.focess.qq.api.event.server.ServerStartEvent
 
ServerStopEvent - Class in top.focess.qq.api.event.server
Called when MainPlugin is starting unloading itself
ServerStopEvent() - Constructor for class top.focess.qq.api.event.server.ServerStopEvent
 
Session - Class in top.focess.qq.api.util.session
This class is used to build better communication between Command and CommandSender.
Session(Map<String, Object>) - Constructor for class top.focess.qq.api.util.session.Session
Initializes the Session with existed key-value pairs (usually not)
SessionSection - Class in top.focess.qq.api.util.session
Section of Session.
SessionSection(Session, Map<String, Object>) - Constructor for class top.focess.qq.api.util.session.SessionSection
 
set(String, Object) - Method in class top.focess.qq.api.util.config.Config
Set the value of the specified key
set(String, Object) - Method in class top.focess.qq.api.util.config.DefaultConfig
 
set(String, Object) - Method in class top.focess.qq.api.util.session.Session
 
setCancelled(boolean) - Method in interface top.focess.qq.api.event.Cancellable
Set whether this event is cancelled or not
setCancelled(boolean) - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
setConsoleIoHandler(IOHandler) - Static method in class top.focess.qq.api.util.IOHandler
 
setExecutorPermission(Predicate<CommandSender>) - Method in class top.focess.qq.api.command.Command
 
setMessage(Message) - Method in class top.focess.qq.api.event.bot.BotPreSendMessageEvent
 
setPermission(CommandPermission) - Method in class top.focess.qq.api.command.Command
Set the default permission
setPrevent(boolean) - Method in class top.focess.qq.api.event.Event
 
size() - Method in class top.focess.qq.api.event.ListenerHandler
Note: this is for test only
Socket - Class in top.focess.qq.api.net
 
Socket(Socket) - Constructor for class top.focess.qq.api.net.Socket
 
Speaker - Interface in top.focess.qq.api.bot.contact
Represents a transmitter, which can upload audio.
SpecialArgumentComplexHandler - Interface in top.focess.qq.api.command
This class is used to handle special arguments, which start with "@".
SpecialArgumentHandler - Interface in top.focess.qq.api.command
This class is used to handle special arguments, which start with "@".
SpecialArgumentType - Annotation Type in top.focess.qq.api.command
Represent this field is a special argument handler.
splitCommand(String) - Static method in class top.focess.qq.api.command.CommandLine
Split the command into arguments
Stranger - Interface in top.focess.qq.api.bot.contact
Represents a stranger.
StrangerChatEvent - Class in top.focess.qq.api.event.chat
Called when a stranger chat with bot
StrangerChatEvent(Bot, Stranger, Message, MessageSource) - Constructor for class top.focess.qq.api.event.chat.StrangerChatEvent
Constructs a ChatEvent
StrangerMessageEvent - Class in top.focess.qq.api.event.message
Called when a stranger chat with bot (this does not execute any commands)
StrangerMessageEvent(Bot, Message, Stranger, MessageSource) - Constructor for class top.focess.qq.api.event.message.StrangerMessageEvent
Constructs a StrangerMessageEvent
submit(T) - Static method in class top.focess.qq.api.event.EventManager
Submit the event to all of its implemented super event class
submit(T) - Method in class top.focess.qq.api.event.ListenerHandler
Submit the event to this listener handler

T

TEXT - Static variable in class top.focess.qq.api.util.network.NetworkHandler
 
TextMessage - Class in top.focess.qq.api.bot.message
 
TextMessage(String) - Constructor for class top.focess.qq.api.bot.message.TextMessage
 
thisPlugin() - Static method in class top.focess.qq.api.plugin.Plugin
Get the plugin by its caller class
thr(String, Throwable) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message and a throwable (or exception) with ERROR level
thrLang(String, Throwable, Object...) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message and a throwable (or exception) with ERROR level
toggleDebugOutput() - Method in class top.focess.qq.api.util.logger.FocessLogger
Toggle debug output Note: if debug output is true, the debug message will be outputted as INFO level and DEBUG level, otherwise, it will be outputted as DEBUG level
top.focess.qq - package top.focess.qq
 
top.focess.qq.api.bot - package top.focess.qq.api.bot
 
top.focess.qq.api.bot.contact - package top.focess.qq.api.bot.contact
 
top.focess.qq.api.bot.message - package top.focess.qq.api.bot.message
 
top.focess.qq.api.command - package top.focess.qq.api.command
 
top.focess.qq.api.command.converter - package top.focess.qq.api.command.converter
 
top.focess.qq.api.command.data - package top.focess.qq.api.command.data
 
top.focess.qq.api.event - package top.focess.qq.api.event
 
top.focess.qq.api.event.bot - package top.focess.qq.api.event.bot
 
top.focess.qq.api.event.chat - package top.focess.qq.api.event.chat
 
top.focess.qq.api.event.command - package top.focess.qq.api.event.command
 
top.focess.qq.api.event.group - package top.focess.qq.api.event.group
 
top.focess.qq.api.event.message - package top.focess.qq.api.event.message
 
top.focess.qq.api.event.plugin - package top.focess.qq.api.event.plugin
 
top.focess.qq.api.event.recall - package top.focess.qq.api.event.recall
 
top.focess.qq.api.event.request - package top.focess.qq.api.event.request
 
top.focess.qq.api.event.server - package top.focess.qq.api.event.server
 
top.focess.qq.api.net - package top.focess.qq.api.net
 
top.focess.qq.api.plugin - package top.focess.qq.api.plugin
 
top.focess.qq.api.scheduler - package top.focess.qq.api.scheduler
 
top.focess.qq.api.util - package top.focess.qq.api.util
 
top.focess.qq.api.util.config - package top.focess.qq.api.util.config
 
top.focess.qq.api.util.logger - package top.focess.qq.api.util.logger
 
top.focess.qq.api.util.network - package top.focess.qq.api.util.network
 
top.focess.qq.api.util.session - package top.focess.qq.api.util.session
 
toString() - Method in interface top.focess.qq.api.bot.message.Message
Get the string representation of this message.
toString() - Method in class top.focess.qq.api.bot.message.TextMessage
 
toString() - Method in class top.focess.qq.api.command.CommandSender
 
toString() - Method in class top.focess.qq.api.util.session.Session
 
trace(String, Throwable) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message and a throwable (or exception) with TRACE level
Transmitter - Interface in top.focess.qq.api.bot.contact
Represents a contact, which can send message and upload image.

U

unload() - Method in class top.focess.qq.api.plugin.Plugin
Used to unload this plugin during enabling process This should be called in the Plugin.enable() method
unregister() - Method in class top.focess.qq.api.command.Command
Unregister this command
unregister() - Method in interface top.focess.qq.api.command.SpecialArgumentComplexHandler
Unregister the special argument
unregister() - Method in interface top.focess.qq.api.event.Listener
Unregister this listener
unregister(DataConverter<?>) - Static method in class top.focess.qq.api.command.DataCollection
Unregister the getter of the buffer
unregister(SpecialArgumentComplexHandler) - Static method in class top.focess.qq.api.command.CommandLine
Unregister the special argument handler
unregister(Listener) - Method in class top.focess.qq.api.event.ListenerHandler
Unregister the listener
unregister(Plugin) - Static method in class top.focess.qq.api.command.Command
Unregister all commands in the plugin
unregister(Plugin) - Static method in class top.focess.qq.api.command.CommandLine
Unregister the special argument handlers by plugin
unregister(Plugin) - Static method in class top.focess.qq.api.command.DataCollection
Unregister the getter of the buffers by plugin
unregister(Plugin) - Static method in class top.focess.qq.api.event.ListenerHandler
Unregister all listeners bundled to the plugin
unregister(Plugin) - Method in class top.focess.qq.api.net.ClientReceiver
 
unregister(Plugin) - Method in class top.focess.qq.api.net.ServerReceiver
 
unregister(Plugin) - Method in class top.focess.qq.api.net.Socket
 
unregister(Plugin, String) - Static method in class top.focess.qq.api.command.CommandLine
Unregister the special argument handler
unregister(Plugin, Listener) - Static method in class top.focess.qq.api.event.ListenerHandler
Unregister the listener by the plugin
unregisterAll() - Static method in class top.focess.qq.api.command.Command
Unregister all commands
unregisterAll() - Static method in class top.focess.qq.api.command.CommandLine
Unregister all the special argument handlers
unregisterAll() - Static method in class top.focess.qq.api.command.DataCollection
Unregister all the getter of the buffers
unregisterAll() - Static method in class top.focess.qq.api.event.ListenerHandler
Unregister all listeners
unregisterAll() - Method in class top.focess.qq.api.net.ClientReceiver
 
unregisterAll() - Method in class top.focess.qq.api.net.ServerReceiver
 
unregisterAll() - Method in class top.focess.qq.api.net.Socket
 
uploadAudio(InputStream) - Method in interface top.focess.qq.api.bot.contact.Speaker
 
uploadAudio(Speaker, InputStream) - Method in interface top.focess.qq.api.bot.Bot
Upload an audio to the speaker
uploadImage(InputStream) - Method in interface top.focess.qq.api.bot.contact.Transmitter
Upload a image to this contact
uploadImage(Transmitter, InputStream) - Method in interface top.focess.qq.api.bot.Bot
Upload an image to the transmitter
usage(CommandSender) - Method in class top.focess.qq.api.command.Command
Used to get help information when execute this command with wrong arguments or the executor returns CommandResult.ARGS

V

valueOf(String) - Static method in enum top.focess.qq.api.bot.BotProtocol
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.focess.qq.api.event.EventPriority
Returns the enum constant of this type with the specified name.
values() - Static method in enum top.focess.qq.api.bot.BotProtocol
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.focess.qq.api.event.EventPriority
Returns an array containing the constants of this enum type, in the order they are declared.

Y

yaml - Variable in class top.focess.qq.api.util.config.Config
 
A B C D E F G H I J L M N O P Q R S T U V Y 
All Classes All Packages