Commit Graph

321 Commits

Author SHA1 Message Date
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
michael-bailey 01da5afb46 Update client.rs
added global broadcasting
2022-03-01 19:58:33 +00:00
michael-bailey 9f83b99bbf Update client.rs
- removed redundant fields
2022-03-01 19:43:02 +00:00
michael-bailey 8f0b502487 cleared up warnings 2022-03-01 19:35:59 +00:00
michael-bailey e3c1f12be5 Added Message Broadcasting functionality 2022-03-01 17:52:18 +00:00
michael-bailey 086210fbd9 Update client_manager.rs
bunch more changes

yes i know i'm rubbish at this plz don't say anything :(
2022-03-01 17:30:45 +00:00
michael-bailey 2c71ca56c6 Update server.rs
- removed redundant messages
2022-03-01 17:27:35 +00:00
michael-bailey 26383d4031 moved some messages around 2022-03-01 13:34:33 +00:00
michael-bailey 685f1c7f18 Update messages.rs
formatting
2022-03-01 11:44:20 +00:00
michael-bailey 7b148e9b6e Update client.rs
meant to add this earlier
2022-03-01 11:44:11 +00:00
michael-bailey 0e45c4e803 Update server.rs
- refactored server to simplify message passing
2022-03-01 11:43:35 +00:00
michael-bailey 7e920c25c1 Update client_manager.rs
+ created function to add/remove clients to the client manager.
2022-02-28 20:42:15 +00:00
michael-bailey cfe72b6c7b Update client_manager.rs
+ created function to get the number of connected clients
2022-02-28 18:13:27 +00:00
michael-bailey 2e74aa058f Update client_manager.rs
+ updated lifetime bounds.
2022-02-28 17:50:59 +00:00
michael-bailey 294edc4df3 Update client_manager.rs
- implemented handle channel method from old start method.
- added notes to possible issues.
2022-02-28 17:48:15 +00:00