Bannerlord-Coop-Team / BannerlordCoop

MIT License
264 stars 51 forks source link

Sync Troop Recruitment #652

Open garrettluskey opened 1 year ago

garrettluskey commented 1 year ago

For New Contributors

How to contribute

Description

Create events to synchronize the following

Intended Design

  1. Client intercepts and disables troop recruitment function
  2. sends recruit request to server
  3. server accepts/rejects request
    1. if accepted server commands recruitment on local game and sends command message to all clients
    2. if rejected, log rejection (maybe in the future we reply using a rejection event)
  4. client receives recruitment command and applies command to local game

Location

Create a new branch based from development

Related Issues

N/A

Requirements

HLR5 HLR7

Additional information

N/A

Definition of Done

samuelzurowski commented 8 months ago

@EgardA since this is your mapevent issue should you close this?