Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registering Client and Server Worlds in VContainer #673

Open
H4CK3R0FF1C14L opened this issue May 27, 2024 · 1 comment
Open

Registering Client and Server Worlds in VContainer #673

H4CK3R0FF1C14L opened this issue May 27, 2024 · 1 comment

Comments

@H4CK3R0FF1C14L
Copy link

I am trying to build a project architecture using VContainer and Entities. Since this is a multiplayer project, I am also using NetCode For Entities and NetCode For Entities provides 2 methods to create a client and server worlds

ClientServerBootstrap.CreateServerWorld("Server World");
ClientServerBootstrap.CreateClientWorld("Client World");

Can I somehow register these two worlds in VContainer, because in the documentation there is a method RegisterNewWorld, but it creates the world itself, taking in arguments the name for the world.

@hadashiA
Copy link
Owner

RegisterSystemIntoWorld is available. Check.
This should also be in the documentation.
https://vcontainer.hadashikick.jp/integrations/ecs#when-to-use-your-custom-world

I am not familiar with NetCode. If there is a missing feature, please tell me specifically. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants