ChengRanORZ il y a 2 ans
Parent
commit
2b798361bf
1 fichiers modifiés avec 11 ajouts et 0 suppressions
  1. 11 0
      tasks/Component/SwitchAccount/switch_account.py

+ 11 - 0
tasks/Component/SwitchAccount/switch_account.py

@@ -15,6 +15,17 @@ from module.logger import logger
 class SwitchAccount(LoginAccount, ExitGame, GameUi, SwitchAccountAssets):
 
     def __init__(self, config: Config, device: Device, to: AccountInfo, frm: AccountInfo = None):
+        """
+
+        @param config:
+        @type config:
+        @param device:
+        @type device:
+        @param to: 要登录的账号信息
+        @type to:
+        @param frm: 上一个账号信息 ,避免关键字from
+        @type frm:
+        """
         super().__init__(config, device)
         self.toAccountInfo = to
         self.fromAccountInfo = frm