From a06d1aaf8c12ad53a316f9d720f8fab8f5983b89 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Mon, 13 Nov 2023 17:24:22 -0500 Subject: [PATCH] sao: fix helpers --- titles/sao/handlers/helpers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/titles/sao/handlers/helpers.py b/titles/sao/handlers/helpers.py index 9ad26f0..f669c7c 100644 --- a/titles/sao/handlers/helpers.py +++ b/titles/sao/handlers/helpers.py @@ -630,6 +630,7 @@ class YuiMedalShopUserData(BaseHelper): ret.yui_medal_shop_id = yui_medal_shop_id ret.purchase_num = purchase_num ret.last_purchase_date = last_purchase_date + return ret def make(self) -> bytes: ret = encode_int(self.yui_medal_shop_id) @@ -651,6 +652,7 @@ class GashaMedalShopUserData(BaseHelper): ret = cls(b"\x00" * 20, 0) ret.gasha_medal_shop_id = gasha_medal_shop_id ret.purchase_num = purchase_num + return ret def make(self) -> bytes: ret = encode_int(self.gasha_medal_shop_id) @@ -699,6 +701,7 @@ class YuiMedalShopData(BaseHelper): ret.yui_medal_shop_id = shop_id ret.name = name ret.description = desc + return ret def make(self) -> bytes: ret = encode_int(self.yui_medal_shop_id)