A bit more, more streaming issues. I might need to rework some stuff.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3985 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-03-28 02:02:22 +00:00
parent 538803e1fb
commit 90e4017801
8 changed files with 39 additions and 15 deletions
@@ -24,6 +24,9 @@ package com.threerings.crowd.data {
import com.threerings.util.Iterator;
import com.threerings.util.Name;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.presents.dobj.DObject;
import com.threerings.presents.dobj.DSet;
import com.threerings.presents.dobj.DSetEntry;
@@ -175,5 +178,24 @@ public class PlaceObject extends DObject
this.speakService = value;
}
// AUTO-GENERATED: METHODS END
// documentation inherited
public override function writeObject (out :ObjectOutputStream) :void
{
super.writeObject(out);
out.writeObject(occupants);
out.writeObject(occupantInfo);
out.writeObject(speakService);
}
// documentation inherited
public override function readObject (ins :ObjectInputStream) :void
{
super.readObject(ins);
// TODO: this needs fixing!
occupants = (ins.readField(OidList) as OidList);
occupantInfo = (ins.readField(DSet) as DSet);
speakService = (ins.readField(SpeakMarshaller) as SpeakMarshaller);
}
}
}