-
Notifications
You must be signed in to change notification settings - Fork 3
API: Forwards
Jonathan Öhrström edited this page Aug 15, 2017
·
37 revisions
- OnWardenDeath
- OnWardenCreated
- OnWardenDisconnect
- OnWardenRetire
- OnAdminRemoveWarden
- OnCMenuOpened
- OnEventDayCreated
- OnEventDayAborted
- OnHnsOver
| OnWardenDeath | |
|---|---|
Called when the current warden dies. |
|
|
Parameters int CLIENT - Client index |
Returns Nothing |
public void OnWardenDeath(int client);
| OnWardenCreated | |
|---|---|
Called when a player becomes warden. |
|
|
Parameters int CLIENT - Client index |
Returns Nothing |
public void OnWardenCreated(int client);
| OnWardenDisconnect | |
|---|---|
Called when the current warden disconnects. |
|
|
Parameters int CLIENT - Client index |
Returns Nothing |
public void OnWardenDisconnect(int client);
| OnWardenRetire | |
|---|---|
Called when the current warden retires by himself. |
|
|
Parameters int CLIENT - Client index |
Returns Nothing |
public void OnWardenRetire(int client);
| OnAdminRemoveWarden | |
|---|---|
Called when an admin removes the current warden by force. |
|
|
Parameters int ADMIN - Admin client index int CLIENT - Client index |
Returns Nothing |
public void OnAdminRemoveWarden(int client);
BW © Jonathan Öhrström, built with contributions by developers!