Re-declare SUCCESS so that it can be referred to as ChatCodes.SUCCESS.
Setting up a prototype const doesn't work, which is possibly a compiler bug. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3959 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -33,6 +33,10 @@ import com.threerings.crowd.chat.client.SpeakService;
|
|||||||
*/
|
*/
|
||||||
public class ChatCodes extends InvocationCodes
|
public class ChatCodes extends InvocationCodes
|
||||||
{
|
{
|
||||||
|
// TODO: Fucking hell, this sucks balls. It'd be nice if we didn't
|
||||||
|
// have to do this, I tried making SUCCESS prototype const in InvCodes....
|
||||||
|
public static const SUCCESS :String = InvocationCodes.SUCCESS;
|
||||||
|
|
||||||
/** The message identifier for a chat notification message. */
|
/** The message identifier for a chat notification message. */
|
||||||
public static const CHAT_NOTIFICATION :String = "chat";
|
public static const CHAT_NOTIFICATION :String = "chat";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user