DClient

Undocumented in source.

Constructors

this
this(Address address)

Constructs a new DClient and connects it to the given endpoint Address

Members

Functions

auth
bool auth(string username, string password)

Authenticates as a client with the server

awaitNotification
byte[] awaitNotification()

Receives the head of the notification queue

close
void close()

Disconnect from the server

deleteProperty
void deleteProperty(string property)

Delete's the given property of yourself

getManager
Manager getManager()
Undocumented in source. Be warned that the author may not have intended to support it.
getMemberCount
ulong getMemberCount(string channelName)

Returns the count of members in the given channel

getMemberInfo
string getMemberInfo(string user)

Get the memberinfo of a given user

getMembers
string[] getMembers(string channel)

Returns the list of members in the given channel

getMotd
string getMotd()
Undocumented in source. Be warned that the author may not have intended to support it.
getProperties
string[] getProperties(string user)

Lists all properties of the given user

getProperty
string getProperty(string user, string property)

Get a property's value

isProperty
bool isProperty(string user, string property)

Check's whether the user has the given property

join
bool join(string channel)

Joins the given channel

list
string[] list()

Lists all the channels on the server

sendMessage
bool sendMessage(bool isUser, string location, string message)

Sends a message to either a channel of user

setProperty
void setProperty(string property, string propertyValue)

Set's the given property of yourself to the given value

setStatus
void setStatus(string status)

Set your status

Meta