wtanaka.praya.bnet
Class BnetUserMessage
java.lang.Object
|
+--wtanaka.praya.obj.Obj
|
+--wtanaka.praya.obj.Message
|
+--wtanaka.praya.bnet.BnetUserMessage
- All Implemented Interfaces:
- java.io.Serializable
- public class BnetUserMessage
- extends Message
Contains the list of users on the channel.
Return to
or the Praya Homepage
- Version:
- $Name: $ $Date: 2001/11/04 06:38:49 $
- Author:
- $Author: wtanaka $
- See Also:
- Serialized Form
| Fields inherited from class wtanaka.praya.obj.Obj |
CONTENTS, date, DATE, FROM, privThread, REVCONTENTS, REVDATE, REVFROM, REVSCORE, REVSUBJECT, SCORE, secretObject, SUBJECT |
| Methods inherited from class wtanaka.praya.obj.Message |
changeScore, convertStringToHtml, getScore, getSourceProtocol, isSelfMessage, isStateChangeMessage, lessThan, renderAsHTML, renderAsHTML, renderAsString, setZombie, toString |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
usernames
private java.lang.String[] usernames
types
private int[] types
UNKNOWN
public static final int UNKNOWN
STARCRAFT
public static final int STARCRAFT
DRTL
public static final int DRTL
CHAT
public static final int CHAT
D2XP
public static final int D2XP
SEXP
public static final int SEXP
D2DV
public static final int D2DV
BnetUserMessage
public BnetUserMessage(Protocol p,
java.lang.String[] usernames,
int[] userTypes)
getContents
public java.lang.String getContents()
- Overrides:
getContents in class Obj
getUserList
public java.lang.String[] getUserList()
getUserTypes
public int[] getUserTypes()
decodeType
public static int decodeType(java.lang.String msg)
replyRecipient
public Recipient replyRecipient()
- Description copied from class:
Message
- Gets the recipient to whom replies to this message will be sent,
if applicable.
- Overrides:
replyRecipient in class Message
- Following copied from class:
wtanaka.praya.obj.Message
- Returns:
- the recipient object for replies to this message. If
there is no relevant recipient (e.g. this a logout message)
returns null.