Bannerlord-Coop-Team / BannerlordCoop

MIT License
256 stars 50 forks source link

Settlement Sync #737

Closed garrettluskey closed 7 months ago

garrettluskey commented 8 months ago

For New Contributors

How to contribute

Description

Go through all functions and disable ticking on client Sync all of the items in the "Synced" section

Key

Synced

Deferred

External Deferred

Non-Synced

Intended Design

Create necessary files in the GameInterface.Services.Settlement namespace/folder structure

Location

Create a branch based from development

Related Issues

N/A

Requirements

HLR5 HLR6 HLR7

Additional information

N/A

Definition of Done

samuelzurowski commented 7 months ago

WIP. So far done:

NumberOfEnemiesSpottedAround => Server side only NumberOfAlliesSpottedAround => Server side only BribePaid => Server side sync SettlementHitPoints => Server side sync LastAttackerParty => Server side sync LastThreatTime => Server side sync CurrentSiegeState => Server side sync Militia => Server side sync

GarrisonWagePaymentLimit => Server side sync

Subscirbe issue in: client side sync allow for (OnUnlimitedWageToggled and OnCurrentWageLimitUpdated methods)