Implement bodyObject's proper who().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4627 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -192,6 +192,16 @@ public class BodyObject extends ClientObject
|
|||||||
// out.writeField(awayMessage);
|
// out.writeField(awayMessage);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
override public function who () :String
|
||||||
|
{
|
||||||
|
var who :String = username.toString() + " (" + getOid();
|
||||||
|
if (status != OccupantInfo.ACTIVE) {
|
||||||
|
who += (" " + OccupantInfo.X_STATUS[status]);
|
||||||
|
}
|
||||||
|
who += ")";
|
||||||
|
return who;
|
||||||
|
}
|
||||||
|
|
||||||
override public function readObject (ins :ObjectInputStream) :void
|
override public function readObject (ins :ObjectInputStream) :void
|
||||||
{
|
{
|
||||||
super.readObject(ins);
|
super.readObject(ins);
|
||||||
|
|||||||
Reference in New Issue
Block a user