Sometimes my mind drifts away and forgets that I live in a world where I have

to write everything in two languages, and now have to take special care that
things written in one of those languages works properly in a wholly separate
and somewhat limited deployment environment. Ah such sweet forgetting.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5119 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-05-22 14:12:10 +00:00
parent 591dc1541a
commit da9d8701c2
8 changed files with 171 additions and 32 deletions
@@ -22,6 +22,7 @@
package com.threerings.crowd.chat.data {
import com.threerings.presents.data.InvocationCodes;
import com.threerings.presents.data.Permission;
import com.threerings.crowd.data.BodyObject;
@@ -40,13 +41,11 @@ public class ChatCodes extends InvocationCodes
/** The message identifier for a chat notification message. */
public static const CHAT_NOTIFICATION :String = "chat";
/** The access control identifier for normal chat privileges. See
* {@link BodyObject#checkAccess}. */
public static const CHAT_ACCESS :String = "crowd.chat.chat";
/** The access control identifier for normal chat privileges. */
public static const CHAT_ACCESS :Permission = new Permission();
/** The access control identifier for broadcast chat privileges. See
* {@link BodyObject#checkAccess}. */
public static const BROADCAST_ACCESS :String = "crowd.chat.broadcast";
/** The access control identifier for broadcast chat privileges. */
public static const BROADCAST_ACCESS :Permission = new Permission();
/** The configuration key for idle time. */
public static const IDLE_TIME_KEY :String = "narya.chat.idle_time";