Commit Graph

385 Commits

Author SHA1 Message Date
michael-bailey 04aef9cd9f created a event result builder 2022-05-09 23:12:52 +01:00
michael-bailey fc12e8f608 added documention 2022-05-09 23:12:52 +01:00
michael-bailey 403ba73bbb renamed responder module 2022-05-09 23:12:52 +01:00
michael-bailey 05851f0aae updated event architecture 2022-05-09 23:12:52 +01:00
michael-bailey 8058c672e8 fixing linting errors 2022-05-09 23:12:52 +01:00
michael-bailey d70aa28f17 updated plugin example 2022-05-09 23:12:52 +01:00
michael-bailey dcd18c6b7c added function to get plugin entry as interface to plugin 2022-05-09 23:12:52 +01:00
michael-bailey 8ac3a51aa7 updated imports. 2022-05-09 23:12:34 +01:00
michael-bailey 447f8c3169 added basics of an event system 2022-05-09 23:12:20 +01:00
michael-bailey 3631b30867 Adjusted visibility modifiers 2022-05-09 23:12:04 +01:00
michael-bailey 8dd22730b7 Added plugin lifecycle events
added lifecycle events to the plugin entry.

This allows plugins to be in a stopped paused or running state
2022-05-09 23:11:27 +01:00
michael-bailey c3c7d2a381 Fixed plugin not functioning with tokio 2022-05-09 23:11:27 +01:00
michael-bailey 41e9ae1056 minor fix 2022-05-09 23:10:39 +01:00
michael-bailey 2595622b37 fixoing formatting and ther errors. This is a pain to look through. i'm sorry :( 2022-05-09 23:09:38 +01:00
michael-bailey c33cd7c9a1 upadted rust fmt rules for imports 2022-05-09 23:09:38 +01:00
michael-bailey ea22fa0cfe updated module definitions 2022-05-09 23:09:38 +01:00
michael-bailey cd19788959 updated plugin trait implementation 2022-05-09 23:09:38 +01:00
michael-bailey f2be134720 fixed cloning issues with plugin manager 2022-05-09 23:08:48 +01:00
michael-bailey 3ada0ce5a8 cleaned up lib folder 2022-05-09 23:08:48 +01:00
michael-bailey 9c13021a16 updated example plugin 2022-05-09 23:08:48 +01:00
michael-bailey d58a088fe8 updated plugin init process 2022-05-09 23:08:48 +01:00
michael-bailey cac3a161ef created plugin interface 2022-05-09 23:08:48 +01:00
michael-bailey 80bd281cd8 updated plagin interface 2022-05-09 23:08:48 +01:00
michael-bailey 4f8b4ba13c updated example plugin 2022-05-09 23:07:33 +01:00
michael-bailey 0dcdbf8938 modified plugin module visibility 2022-05-09 23:07:33 +01:00
michael-bailey 83c8a6c2b7 added plugin manager to server 2022-05-09 23:07:33 +01:00
michael-bailey be847e39b7 Updated example plugin 2022-05-09 23:06:54 +01:00
michael-bailey df25a3e462 added modules 2022-05-09 23:06:54 +01:00
michael-bailey 40a27e5c01 Added plugin manager to server 2022-05-09 23:06:54 +01:00
michael-bailey 9e4b7c316f created basic PluginManager 2022-05-09 23:06:54 +01:00
michael-bailey bb2e167ef1 Created plugin trait and create function type 2022-05-09 23:06:54 +01:00
michael-bailey 3e15195b0f Added libloading dependency 2022-05-09 23:06:54 +01:00
michael-bailey 5746163123 Created example plugin crate 2022-05-09 23:06:54 +01:00
michael-bailey e833fa347c added arbitrary self types 2022-05-09 23:06:54 +01:00
michael-bailey 89d673b32f moved Lua structs to separate module 2022-05-09 23:06:54 +01:00
michael-bailey 6ebdb441e1 added basic callback support to ClientManager 2022-05-09 23:06:54 +01:00
michael-bailey b29d055aa1 added client indexing to client manager 2022-05-09 23:06:54 +01:00
michael-bailey 5bf1d260ce Updated testing script 2022-05-09 23:06:54 +01:00
michael-bailey eb3c202a4e Adde fields to server to get client manager 2022-05-09 23:06:54 +01:00
michael-bailey 43cafc2c4d Made client manager Lua scriptable 2022-05-09 23:06:54 +01:00
michael-bailey 0681f2ea65 made client Lua scriptable 2022-05-09 23:06:54 +01:00
michael-bailey b33db558e7 Update client.rs
fixed stray connection
2022-05-09 23:06:54 +01:00
michael-bailey 4cf7cb5cde added basic scripting abilities to the server 2022-05-09 23:06:54 +01:00
michael-bailey 57d8cd920b Made server, Lua scriptable. 2022-05-09 23:06:54 +01:00
michael-bailey 62f4803d80 Added Lua dependency 2022-05-09 23:06:54 +01:00
michael-bailey 77bf1e0e25 Merge branch 'feature/iced-client' into develop 2022-03-02 17:06:31 +00:00
michael-bailey 90d8ead026 Update client.rs
added tokio, to protect client connections.
2022-03-01 22:57:47 +00:00
michael-bailey 2783c381e0 implemented message sending between users 2022-03-01 21:06:55 +00:00
michael-bailey e0b65fb520 Update network_manager.rs
this protects the network manager from crashing when a erroneous message is sent
2022-03-01 20:51:56 +00:00
michael-bailey 8f100c0f1c Added the ability to disconnect from the server 2022-03-01 20:12:21 +00:00