Bannerlord-Coop-Team / BannerlordCoop

MIT License
264 stars 51 forks source link

Village Sync #168

Closed garrettluskey closed 9 months ago

garrettluskey commented 3 years ago

Village interactions need to be synchronized via RPC and value persistence. Look into what other sync might be needed and implement.

See https://github.com/Bannerlord-Coop-Team/BannerlordCoop/blob/development/source/Coop/Mod/Persistence/Party/EventPartyMoveTo.cs. We use Railgun for RPC, https://github.com/araex/RailgunNet/blob/master/RailgunNet/Logic/RailEvent.cs

garrettluskey commented 3 years ago

OnSettlementOwnerChanged CalculateLoyaltyChangeInternal Town.DailyTick

Garrison Parties Heros (people in tavern) InSeige Owner Changed

garrettluskey commented 9 months ago

Resolved by #727