Ran the auto-generator on all our Streamable stuff in Narya. Tidied up the

results.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4395 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-10-04 02:07:04 +00:00
parent 8015764c61
commit 398767da5f
11 changed files with 449 additions and 66 deletions
@@ -22,6 +22,7 @@
package com.threerings.crowd.chat.data {
import com.threerings.util.ClassUtil;
import com.threerings.util.Long;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
@@ -43,6 +44,9 @@ public /*abstract*/ class ChatMessage
* registered with an auxiliary source in the ChatDirector. */
public var localtype :String;
/** The client time that this message was created. */
public var timestamp :Long;
public function ChatMessage (msg :String = null, bundle :String = null)
{
this.message = msg;
@@ -70,14 +74,14 @@ public /*abstract*/ class ChatMessage
" [message=" + message + ", bundle=" + bundle + "]";
}
// documentation inherited from interface Streamable
// from interface Streamable
public function readObject (ins :ObjectInputStream) :void
{
message = (ins.readField(String) as String);
bundle = (ins.readField(String) as String);
}
// documentation inherited from interface Streamable
// from interface Streamable
public function writeObject (out :ObjectOutputStream) :void
{
out.writeField(message);