All the latest and ... well, the latest anyway.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3950 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -145,7 +145,7 @@ public class BodyObject extends ClientObject
|
||||
*/
|
||||
public function setUsername (value :Name) :void
|
||||
{
|
||||
Name ovalue = this.username;
|
||||
var ovalue :Name = this.username;
|
||||
requestAttributeChange(
|
||||
USERNAME, value, ovalue);
|
||||
this.username = value;
|
||||
@@ -161,7 +161,7 @@ public class BodyObject extends ClientObject
|
||||
*/
|
||||
public function setLocation (value :int) :void
|
||||
{
|
||||
int ovalue = this.location;
|
||||
var ovalue :int = this.location;
|
||||
requestAttributeChange(
|
||||
LOCATION, value, ovalue);
|
||||
this.location = value;
|
||||
|
||||
@@ -60,7 +60,7 @@ public class OccupantInfo
|
||||
public static const DISCONNECTED :int = 2;
|
||||
|
||||
/** Maps status codes to human readable strings. */
|
||||
public static const X_STATUS :Array = { "active", "idle", "discon" };
|
||||
public static const X_STATUS :Array = [ "active", "idle", "discon" ];
|
||||
|
||||
/** The body object id of this occupant (and our entry key). */
|
||||
public var bodyOid :Integer;
|
||||
|
||||
@@ -156,7 +156,7 @@ public class PlaceObject extends DObject
|
||||
public function setOccupantInfo (value :DSet) :void
|
||||
{
|
||||
requestAttributeChange(OCCUPANT_INFO, value, this.occupantInfo);
|
||||
this.occupantInfo = (value == null) ? null : (DSet)value.clone();
|
||||
this.occupantInfo = (value == null) ? null : value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user