SMJSONAPI: Add Forwards

This commit is contained in:
BotoX
2019-10-12 20:25:26 +02:00
parent 802ef98c0c
commit 2d336798e2
2 changed files with 172 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
public void OnClientPostAdminCheck(int client)
{
JSONObject jEvent = new JSONObject();
jEvent.SetString("name", "OnClientPostAdminCheck");
JSONObject jEventData = new JSONObject();
jEventData.SetInt("client", client);
jEvent.Set("data", jEventData);
Subscribe_Forwards_Publish("OnClientPostAdminCheck", jEvent);
}