Capitalize the MESSAGE_RECEIVED event type, for consistency.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@556 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -33,7 +33,7 @@ package com.threerings.ezgame {
|
||||
*
|
||||
* @eventType com.threerings.ezgame.MessageReceivedEvent.MESSAGE_RECEIVED
|
||||
*/
|
||||
[Event(name="msgReceived", type="com.threerings.ezgame.MessageReceivedEvent")]
|
||||
[Event(name="MsgReceived", type="com.threerings.ezgame.MessageReceivedEvent")]
|
||||
|
||||
/**
|
||||
* Provides access to 'net' game services. Do not instantiate this class yourself,
|
||||
|
||||
@@ -31,9 +31,9 @@ public class MessageReceivedEvent extends Event
|
||||
/**
|
||||
* The type of all MessageReceivedEvents.
|
||||
*
|
||||
* @eventType msgReceived
|
||||
* @eventType MsgReceived
|
||||
*/
|
||||
public static const MESSAGE_RECEIVED :String = "msgReceived";
|
||||
public static const MESSAGE_RECEIVED :String = "MsgReceived";
|
||||
|
||||
/**
|
||||
* Access the message name.
|
||||
@@ -60,8 +60,7 @@ public class MessageReceivedEvent extends Event
|
||||
|
||||
override public function toString () :String
|
||||
{
|
||||
return "[MessageReceivedEvent name=" + _name +
|
||||
", value=" + _value + "]";
|
||||
return "[MessageReceivedEvent name=" + _name + ", value=" + _value + "]";
|
||||
}
|
||||
|
||||
override public function clone () :Event
|
||||
|
||||
Reference in New Issue
Block a user