Added some missing marshallers.
Use Long instead of long. I had them both (it may be useful so that we know if we're streaming an object or just 8 bytes of value) but Windows couldn't fucking tell them apart (case insensitivity) so I nixed one. Reference some more marshallers in the client so that the classes will be compiled in.. gawd. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3977 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.threerings.util {
|
||||
|
||||
/**
|
||||
* Equivalent to java.lang.Long.
|
||||
*/
|
||||
public class Long
|
||||
implements Equalable
|
||||
{
|
||||
public var high :int;
|
||||
public var low :int;
|
||||
|
||||
public function Long (low :int, high :int = 0)
|
||||
{
|
||||
this.low = low;
|
||||
this.high = high;
|
||||
}
|
||||
|
||||
// documentation inherited from interface Equalable
|
||||
public function equals (other :Object) :Boolean
|
||||
{
|
||||
if (!(other is Long)) {
|
||||
return false;
|
||||
}
|
||||
var that :Long = (other as Long);
|
||||
return (this.high == that.high) && (this.low == that.low);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user