Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TSWVote
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tserverweb
TSWVote
Wiki
Using the VoteSuccess hook (for plugin developers)
Changes
Page history
New page
Templates
Clone repository
Update Using the VoteSuccess hook (for plugin developers)
authored
3 years ago
by
Simon311
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Using-the-VoteSuccess-hook-(for-plugin-developers).md
+1
-1
1 addition, 1 deletion
Using-the-VoteSuccess-hook-(for-plugin-developers).md
with
1 addition
and
1 deletion
Using-the-VoteSuccess-hook-(for-plugin-developers).md
View page @
e13a4b0d
`VoteSuccess`
is the hook that allows your plugins to listen for successful in-game votes.
`VoteSuccess`
is the hook that allows your plugins to listen for successful in-game votes.
Add
`TSWVote.dll`
to your project's references.
Add
[
`TSWVote.dll`
](
https://gitlab.xghozt.com:2345/tsw/TSWVote/-/raw/master/Build/TSWVote.dll
)
to your project's references.
Add to the top of your .cs file:
`using TSWVote;`
Add to the top of your .cs file:
`using TSWVote;`
...
...
This diff is collapsed.
Click to expand it.