Restore event and mini hubs, current shop and hunt calendars, and regular seasons; preserve all published windows. Implement story/quiz routes, native shop purchases, avatar sets, currencies, rank-change items and permanent buffs with rollback and reward coverage tests. Refresh client buff stats and update Cash Shop to 0.1.1.
10 lines
346 B
Go
10 lines
346 B
Go
package pictorial
|
|
|
|
import "bd2server/internal/server/gamedata"
|
|
|
|
// AttachPermanentBuffs makes reward-owned account buffs available to the same
|
|
// Snapshot used by AllCharRefresh, login and authoritative stat consumers.
|
|
func (s *Service) AttachPermanentBuffs(provider func() ([]gamedata.PictorialBuffStat, error)) {
|
|
s.permanentBuffs = provider
|
|
}
|