Maintain user's status in their body object; also maintain a timestamp
that indicates the time at which their status became what it is. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1863 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: OccupantInfo.java,v 1.10 2002/10/26 02:40:30 shaper Exp $
|
||||
// $Id: OccupantInfo.java,v 1.11 2002/10/30 00:42:37 mdb Exp $
|
||||
|
||||
package com.threerings.crowd.data;
|
||||
|
||||
@@ -36,6 +36,9 @@ public class OccupantInfo extends SimpleStreamableObject
|
||||
/** Constant value for {@link #status}. */
|
||||
public static final byte DISCONNECTED = 2;
|
||||
|
||||
/** Maps status codes to human readable strings. */
|
||||
public static final String[] X_STATUS = { "active", "idle", "discon" };
|
||||
|
||||
/** The body object id of this occupant (and our entry key). */
|
||||
public Integer bodyOid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user