lumberyard-employee-dm 66bf149a75 Generate CMake load dependencies for gem json dependencies (#15937) 1 年之前
..
Code 66bf149a75 Generate CMake load dependencies for gem json dependencies (#15937) 1 年之前
Registry e9d9576a12 Add UnifiedMultiplayerGem Template 1 年之前
.gitignore e9d9576a12 Add UnifiedMultiplayerGem Template 1 年之前
CMakeLists.txt e9d9576a12 Add UnifiedMultiplayerGem Template 1 年之前
README.md 35a6ffed88 Add README to UnifiedMultiplayerGem pointing at relevant documentation 1 年之前
gem.json b16fb0aa4f Added TypeIds header file which contains string literals of Uuids to the Project and Gem Templates (#15113) 1 年之前
preview.png e9d9576a12 Add UnifiedMultiplayerGem Template 1 年之前

README.md

How to use this template

Use this template to produce a Multiplayer dependent Gem that can implement different behavior on the GameLauncher, ServerLauncher and UnifiedLauncher.

Instanciate the template

From your gems folder call this command:

<O3DE_PATH>\scripts\o3de create-from-template -tn UnifiedMultiplayerGem -gp <PATH_TO_GEM>

Authoring separated Client and Server logic

The Client, Server and Unified targets can all make use of their own sets of dependencies and cmake files.

They can separate logic within files using the macros AZ_TRAIT_CLIENT and AZ_TRAIT_SERVER.

For more information, see O3DE's documentation: https://development--o3deorg.netlify.app/docs/user-guide/networking/multiplayer/code_separation/