We should be able to pass ByteArrays around using the EZGame kit.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@91 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -457,7 +457,11 @@ public class GameObjectImpl extends EventDispatcher
|
||||
// kosher!
|
||||
return;
|
||||
}
|
||||
if (ClassUtil.getClass(value) != Object) {
|
||||
var clazz :Class = ClassUtil.getClass(value);
|
||||
if (clazz == ByteArray) {
|
||||
return; // kosher
|
||||
}
|
||||
if (clazz != Object ) {
|
||||
throw new ArgumentError(
|
||||
"Non-simple properties may not be set.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user