Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 13s ago· Viewing build 6701 (Sep 25 2026), not the latest

vote_changed

game event

Declared in core.gameevents

Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.

Deadworks (C#), as VoteChangedEvent
[GameEventHandler("vote_changed")]
public HookResult OnVoteChanged(VoteChangedEvent args) {
	// args.YesVotes, args.NoVotes, args.PotentialVotes
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
yesVotesbyte
YesVotes int
noVotesbyte
NoVotes int
potentialVotesbyte
PotentialVotes int

History

  1. 6696–6745first dumped