Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.
VoteCastYesEvent[GameEventHandler("vote_cast_yes")]
public HookResult OnVoteCastYes(VoteCastYesEvent args) {
// args.Team, args.Entityid
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| team | byte | Team int | |
| entityid | long | Entityid int | entity id of the voter |