Bannerlord-Coop-Team / BannerlordCoop

MIT License
263 stars 51 forks source link

Sync: TraitObject Lifetime #950

Open garrettluskey opened 2 months ago

garrettluskey commented 2 months ago

Description

  1. Sync the values in the Synced list below.
  2. Create an end to end (E2E) tests for this lifetime sync (1 from the server side and 1 from the client side. Client test should not create object)
  3. Create a command to create and delete (if applicable) the synced object see similar command

Also see additional information at the bottom for more information and templates

Intended Design

For the patch itself please refer to https://github.com/Bannerlord-Coop-Team/BannerlordCoop/wiki/Patching-Basics#collection-patching

Lifetime Sync Dataflow LifetimeSyncDataflow

Location

Create a branch based from development

Related Issues

N/A

Requirements

N/A

Additional information

Using the GameInterface Service Tempale create commands to test the synced values.

Definition of Done

EgardA commented 2 months ago

TraitObjects are set on start, thus already exists on all clients and never change. No sync should be needed.