Skip to content

6.7.1

Choose a tag to compare

@Unbistrackted Unbistrackted released this 09 Feb 01:58
· 31 commits to main since this release
8ea2ced

Changes

Code Related

  • Renamed and changed signature of VotingHandler.CreateVoteForVoting(string option, string detail) to VotingHandler.CreateVote(string option, string detail, out Vote vote)
  • Renamed Voting::TryGetVote(string command, out Vote vote) to Voting::TryGetVoteFromCommand(string command, out Vote vote)
  • Removed IfCommandIsRegistered checks 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 a HashSet<Vote> with the votes found with those options

Full Changelog: 6.7.0...6.7.1