26 Jan 05:00
Re: Game history UI
Jason McIntosh <zendonut <at> gmail.com>
2006-01-26 04:00:33 GMT
2006-01-26 04:00:33 GMT
On 1/25/06, Andrew Plotkin <erkyrath <at> eblong.com> wrote: > > We would need a way to refer to a particular game record. (That is, if you > are browsing the game records, and you want to throw one at your client, > there has to be a way to name it.) I suppose this would be the game URI > plus a record number of some sort. Why not skip the URI and just use a record ID string? > What we want is an RPC "volity.game_history(data)". Actually, two RPCs. Oh, yes, of course, this is what I think I meant to say... Except that let's actually make this a bit more general (and useful) by replacing it with these calls, which deal at the game record level (which will include history, plus other useful metadata): Client->Bookkeeper: volity.game_record($record_id) Bookkeeper->Client: volity.game_record($record_id, $record) The second argument in the latter call is a game record struct, exactly as described in [[Game Record]]. I'm keeping the ID separate just to avoid changing that specification by adding an ID field, but maybe it should have one anyway...? -- Jason McIntosh zendonut <at> gmail.com Jabber: jmac <at> volity.net AIM: zendonut http://jmac.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
RSS Feed