Configure the AgentObject from the stream.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5088 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Par Winzell
2008-05-13 16:39:52 +00:00
parent f11ee4b82f
commit 151a021f65
@@ -21,6 +21,7 @@
package com.threerings.bureau.data {
import com.threerings.io.ObjectInputStream;
import com.threerings.presents.dobj.DObject;
public class AgentObject extends DObject
@@ -98,5 +99,14 @@ public class AgentObject extends DObject
this.agentCode = value;
}
// AUTO-GENERATED: METHODS END
// from interface Streamable
override public function readObject (ins :ObjectInputStream) :void
{
super.readObject(ins);
bureauId = ins.readField(String) as String;
bureauType = ins.readField(String) as String;
agentCode = ins.readField(String) as String;
}
}
}