Used to store the information about a friend's online status and in which room he/she is active.
- See also
- Client::getFriendList(), Client::getFriendListAge(), Client::opFindFriends(), Listener::onFindFriendsResponse()
◆ getUserID()
- Returns
- the user ID of the friend
◆ getIsOnline()
bool getIsOnline |
( |
void |
| ) |
const |
- Returns
- true if the friend is online, false otherwise
◆ getRoom()
- Returns
- the name of the room in which the friend currently is active in, or an empty string, if it is not active inside any room at all.
◆ getIsInRoom()
bool getIsInRoom |
( |
void |
| ) |
const |
- Returns
- true if the friend is active inside a room, false otherwise.
◆ toString() [1/3]
- Parameters
-
retStr | reference to a string, to store the return-value in; the information, which is generated by this function, will be attached at the end of any eventually existing previous content of the string |
withTypes | set to true, to include type information in the generated string |
- Returns
- a JString representation of the instance and its contents for debugging purposes.
Implements ToString.
◆ toString() [2/3]
- Parameters
-
retStr | reference to a string, to store the return-value in; the information, which is generated by this function, will be attached at the end of any eventually existing previous content of the string |
withTypes | set to true, to include type information in the generated string |
- Returns
- a JString representation of the instance and its contents for debugging purposes.
◆ toString() [3/3]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters
-
withTypes | set to true, to include type information in the generated string |
- Returns
- a JString representation of the instance and its contents for debugging purposes.
- See also
- JString