Implement hunting AP and progress, event tasks, exchanges, games, stories and actions; connect battle and reward handling. Add CashShop plugin and installation, server purchases and entitlements, recharge rules and plugin version metadata. Distribute binary calendars independently; cache GameData in memory and fix single-connection query deadlocks. Improve automatic login and recovery diagnostics; document configuration and release flows.
12 lines
417 B
Go
12 lines
417 B
Go
package events
|
|
|
|
// SkinHandler restores skin ownership through the client's dedicated query.
|
|
type SkinHandler struct{ Economy *Economy }
|
|
|
|
func (h SkinHandler) Handle(path string, request []byte) (int, []byte, bool, error) {
|
|
if code, response, handled, err := h.Economy.OwnedItemInfo(path, request); handled || err != nil {
|
|
return code, response, handled, err
|
|
}
|
|
return h.Economy.PrestigeSkinInfo(path, request)
|
|
}
|