6.7.1
Changes
Code Related
- Renamed and changed signature of
VotingHandler.CreateVoteForVoting(string option, string detail)toVotingHandler.CreateVote(string option, string detail, out Vote vote) - Renamed
Voting::TryGetVote(string command, out Vote vote)toVoting::TryGetVoteFromCommand(string command, out Vote vote) - Removed
IfCommandIsRegisteredchecks when a player votes (So you can implement your own way to vote) - Fixed some clarity issues on the Documentation
Additions
Code Related
- Added
Voting::GetVotesFromOption(string option)- Since a Voting can have multiple votes with the same option (but not the same command), it returns aHashSet<Vote>with the votes found with those options
Full Changelog: 6.7.0...6.7.1