Java Reference
In-Depth Information
* @param playerID
* the {@link UUID} for the player whose batting is being
* reported * @return a list of {@link Batter.AtBatResults} for
the player in the
* particular game. If the player did not bat in the game, or if the
* player did not play in the game, the list will be empty
* @throws DidNotPlayException
* if the player did not bat in the game being reported.
*/
List<Batter.AtBatResult> getBatting(UUID playerID)
throws DidNotPlayException;
/**
* Gets a list of the fielding results for the indicated player in this
* game. Note that unlike the {@link #getPosition(UUID)} and
* {@link #getBatting(UUID)} methods, this method will not throw a
* {@link DidNotPlayException}, as a player may participate in a full game
* and never make a defensive play.
*
* @param forPlayer
* the {@link UUID} player id for the player whose fielding
* results are being reported
* @return a list of {@link Fielder.AttemptResult} for the player in the
* particular game. If the player made no plays in the field, or did
* not play, the list will be empty
*/
List<Fielder.AttemptResult> getFielding(UUID forPlayer);
/**
* Gets the number of passed balls being reported for a particular player in
* this game. Note that this should only be called if the player had the
* {@link Player.Position} of catcher sometime during the game.
*
* @param forPlayer
* The {@link UUID} player id for the player whose passed ball
* count is being reported
* @return the number of passed balls recorded for the player during the
* game. If there were no passed balls for the player, or if the
* player was not catching during the game, or if the player did not
* play, the returned value will be 0
*/
int getPassedBalls(UUID forPlayer);
}
Search WWH ::




Custom Search