diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 22:25:47 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 22:25:47 -0400 |
commit | d4e4e9281ac707130281eff3beb4bd100dd07809 (patch) | |
tree | 3a91c85026956213b49e5303aa3cf8fa0fe23330 /lib/sampling/README.md | |
parent | 8dcf94aa47869a61a7b03e3117187dee2ffb34f9 (diff) | |
parent | e46b38a457cf9cc685f644be741073df183f53b2 (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'lib/sampling/README.md')
-rw-r--r-- | lib/sampling/README.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/sampling/README.md b/lib/sampling/README.md index 731f1d1..bde84cd 100644 --- a/lib/sampling/README.md +++ b/lib/sampling/README.md @@ -9,6 +9,12 @@ interface: Returns whether or not this sampling method works with the specified game. + - `can_get?(User, String setting_name) => Fixnum` + + Returns whether or nat this sampling method can get a specifed + statistic; 0 means 'false', positive integers mean 'true', where + higher numbers are higher priority. + - `uses_remote?() => Boolean` Return whether or not this sampling method requires remote IDs for @@ -22,15 +28,10 @@ interface: When given an object from `RemoteUsername#value`, give back a human-readable/editable name to display. - - `sampling_start(Match)` + - `sampling_start(Match, Array[]={:user=>User,:stat=>String})` Fetch the statistics for a match. - - `sampling_done?(Match) => Boolean` - - Returns whether or not statistics have been completely collected - yet. - - `render_user_interaction(Match, User) => String` Returns HTML to render on a page. |