Closed
Conversation
Set up automatic github action for testing on push.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Refactored the lobby system with modular design using `ILobby` and `LobbyManager` for managing multiple lobbies. Introduced a new `Server` class to handle client connections and delegate lobby operations. Added logging via `ILogger` and exception handling with `NullLobbyException`. Updated namespaces and project structure for better organization. Removed legacy code and improved thread management and client communication. Enhanced code readability with comments and XML documentation.
* Added basics for messages communication * Changes in client loop in server, changes in message communication * Added project for manual testing, bugs fixed * Some changes * IMessage interface changed for MessageBase abstract class
Small fixes
Improved string and null safety.
Changed logging architecture to event base to decouple the server from the rest.
Added resending new info about entity to others.
Added initial processing of world entities' states updates.
added shared library
Changed world state update to tick-based
Refactored lobby updating system
server logs are transfered to ui app
base for http api (now only lobbies api endpoints)
lobby service transfered into shared library
…ment Added simple entities movement handling.
…tion Added simple API for managing modules.
* Improved Module class. Added Behaviour type tree. Added a way to create Module instances using fluent builder. * Created interaction type resolver in world entity update. * Added services. Added ModuleService. Added BehaviourService. Added simple in-memory behaviours catalouge. Created most basic implementations of behaviours. * Add important comment. * Added a very primitive modules id system. Prevents extensive memory usage by removing need for multiple instances of module class in world entities. Now, lobby will only contain instances of loaded modules once, not once per entity. It will also reduce the number of behaviour classes instances to once per modules its included in.
#46) * Added disjoining lobby option and message, added new elemnts to create lobby message * disjoin lobby message type enum bug fixed * join lobby message type bug fixed
* classes from Server.Shared project transfered into Server.Core and SharedLibrary projects * Changed lobby creation to support modules. Made other minor changes. --------- Co-authored-by: Maciej Góralczyk <goralczykmaciek@gmail.com>
Moved DTO files to folder.
Changed fields in ModuleDTO.
Changed interaction type resolver.
Reworked a bit of module system.
* new info type message, UI console bases for TCP communication instead of HTTP * http communication fully removed and some code refactoring
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.