com.leafdigital.irc.api
Class UserModeIRCMsg
java.lang.Object
leafchat.core.api.Msg
com.leafdigital.irc.api.IRCMsg
com.leafdigital.irc.api.UserSourceIRCMsg
com.leafdigital.irc.api.UserIRCMsg
com.leafdigital.irc.api.UserModeIRCMsg
public class UserModeIRCMsg
- extends UserIRCMsg
User mode change
Methods inherited from class com.leafdigital.irc.api.IRCMsg |
constructBytes, constructBytes, convertEncoding, convertISO, getCommand, getCommandBytes, getLine, getLineISO, getParamISO, getParams, getPrefix, getPrefixBytes, getServer, hasEncoding, includesPostfix, init, init, isParamInteger, setEncoding, splitBytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
info
public static MessageInfo info
- Scripting event information.
UserModeIRCMsg
public UserModeIRCMsg(IRCUserAddress source,
java.lang.String targetNick,
java.lang.String modes)
- Parameters:
source
- User that is in the message prefixtargetNick
- Target nicknamemodes
- Mode changes
getModes
public java.lang.String getModes()
- Returns:
- Mode changes
getPositiveModes
public java.lang.String getPositiveModes()
- Returns:
- All mode letters that have been turned on by this command
getNegativeModes
public java.lang.String getNegativeModes()
- Returns:
- All mode letters that have been turned off by this command
toString
public java.lang.String toString()
- Overrides:
toString
in class UserIRCMsg
Copyright © 2011 Samuel Marshall. All rights reserved.