Fill out PropertySetEvent's toString() for easier debugging.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@146 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-01-12 19:15:46 +00:00
parent ba5b931adc
commit ae26fb8bcd
2 changed files with 17 additions and 0 deletions
@@ -10,6 +10,8 @@ import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.io.Streamer;
import com.threerings.util.StringBuilder;
import com.threerings.presents.dobj.DObject;
import com.threerings.presents.dobj.NamedEvent;
@@ -84,6 +86,13 @@ public class PropertySetEvent extends NamedEvent
}
}
override protected function toStringBuf (buf :StringBuilder) :void
{
buf.append("PropertySetEvent ");
super.toStringBuf(buf);
buf.append(", index=").append(_index);
}
/** The index of the property, if applicable. */
protected var _index :int;
@@ -80,6 +80,14 @@ public class PropertySetEvent extends NamedEvent
}
}
@Override
protected void toString (StringBuilder buf)
{
buf.append("PropertySetEvent ");
super.toString(buf);
buf.append(", index=").append(_index);
}
/** The index of the property, if applicable. */
protected int _index;