Esempio n. 1
0
        public void OnServerStart()
        {
            UserData.RegisterAssembly();

            LuaScriptManger.LoadPlugins();

            LuaScriptManger.CallHandler("OnServerStart");
        }
Esempio n. 2
0
 public void OnUpdate()
 {
     LuaScriptManger.CallHandler("OnUpdate");
 }
Esempio n. 3
0
 public void OnServerStop()
 {
     LuaScriptManger.CallHandler("OnServerStop");
 }
Esempio n. 4
0
 public void OnMessageSent(ClientStructure client, IServerMessageBase messageData)
 {
     LuaScriptManger.CallHandler("OnMessageSent", client, messageData);
 }
Esempio n. 5
0
 public void OnMessageReceived(ClientStructure client, IClientMessageBase messageData)
 {
     LuaScriptManger.CallHandler("OnMessageReceived", client, messageData);
 }
Esempio n. 6
0
 public void OnClientDisconnect(ClientStructure client)
 {
     LuaScriptManger.CallHandler("OnClientDisconnect", client);
 }
Esempio n. 7
0
 public void OnClientAuthenticated(ClientStructure client)
 {
     LuaScriptManger.CallHandler("OnClientAuthenticated", client);
 }