Cookie fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@124 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -305,10 +305,7 @@ public class GameObjectImpl extends EventDispatcher
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
_ezObj.ezGameService.setCookie(_ctx.getClient(), null, // ba,
|
_ezObj.ezGameService.setCookie(_ctx.getClient(), ba,
|
||||||
// TODO
|
|
||||||
///
|
|
||||||
/// TODO
|
|
||||||
createLoggingListener("setUserCookie"));
|
createLoggingListener("setUserCookie"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ public class UserCookie
|
|||||||
public function readObject (ins :ObjectInputStream) :void
|
public function readObject (ins :ObjectInputStream) :void
|
||||||
{
|
{
|
||||||
playerIndex = ins.readInt();
|
playerIndex = ins.readInt();
|
||||||
var ba :ByteArray = (ins.readObject() as ByteArray);
|
var ba :ByteArray = (ins.readField(ByteArray) as ByteArray);
|
||||||
cookie = EZObjectMarshaller.decode(ba);
|
cookie = EZObjectMarshaller.decode(ba);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user