Added setFooImmediate versions of BodyObject setters and use
setUsernameImmediate in sessionWillStart() so that entities later down the line of session startup processing can reference values set earlier in the process without having to wait for them to be applied by the dobjmgr. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@920 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: BodyObject.dobj,v 1.5 2001/10/11 04:07:51 mdb Exp $
|
||||
// $Id: BodyObject.dobj,v 1.6 2002/02/03 03:09:06 mdb Exp $
|
||||
|
||||
package com.threerings.crowd.data;
|
||||
|
||||
@@ -29,11 +29,23 @@ public class BodyObject extends ClientObject
|
||||
requestAttributeChange(USERNAME, username);
|
||||
}
|
||||
|
||||
public void setUsernameImmediate (String username)
|
||||
{
|
||||
this.username = username;
|
||||
requestAttributeChange(USERNAME, username);
|
||||
}
|
||||
|
||||
public void setLocation (int location)
|
||||
{
|
||||
requestAttributeChange(LOCATION, new Integer(location));
|
||||
}
|
||||
|
||||
public void setLocationImmediate (int location)
|
||||
{
|
||||
this.location = location;
|
||||
requestAttributeChange(LOCATION, new Integer(location));
|
||||
}
|
||||
|
||||
protected void toString (StringBuffer buf)
|
||||
{
|
||||
super.toString(buf);
|
||||
|
||||
Reference in New Issue
Block a user