Updates to EZGame to allow games to store 'user cookies'.
Then intention is that other games besides EZGame may use this as well, so it's semi-separated, but for now it's part of EZGame. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@123 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -51,6 +51,12 @@ public interface EZGameProvider extends InvocationProvider
|
||||
public void endTurn (ClientObject caller, int arg1, InvocationService.InvocationListener arg2)
|
||||
throws InvocationException;
|
||||
|
||||
/**
|
||||
* Handles a {@link EZGameService#getCookie} request.
|
||||
*/
|
||||
public void getCookie (ClientObject caller, int arg1, InvocationService.InvocationListener arg2)
|
||||
throws InvocationException;
|
||||
|
||||
/**
|
||||
* Handles a {@link EZGameService#getFromCollection} request.
|
||||
*/
|
||||
@@ -69,6 +75,12 @@ public interface EZGameProvider extends InvocationProvider
|
||||
public void sendMessage (ClientObject caller, String arg1, Object arg2, int arg3, InvocationService.InvocationListener arg4)
|
||||
throws InvocationException;
|
||||
|
||||
/**
|
||||
* Handles a {@link EZGameService#setCookie} request.
|
||||
*/
|
||||
public void setCookie (ClientObject caller, byte[] arg1, InvocationService.InvocationListener arg2)
|
||||
throws InvocationException;
|
||||
|
||||
/**
|
||||
* Handles a {@link EZGameService#setProperty} request.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user