From a20d1ef24191c07fc7150303ca2aa965a2262f19 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 27 五月 2019 14:50:23 +0800
Subject: [PATCH] 3724 【BUG】【2.0】快速连续点击进入草园不弹结算(优化自定义场景采集判断,优化进入自定义场景验证)

---
 Tool/RobotTest/ConfigurationReader/ConfigIniReader.py |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/Tool/RobotTest/ConfigurationReader/ConfigIniReader.py b/Tool/RobotTest/ConfigurationReader/ConfigIniReader.py
index afa4c07..36b9343 100644
--- a/Tool/RobotTest/ConfigurationReader/ConfigIniReader.py
+++ b/Tool/RobotTest/ConfigurationReader/ConfigIniReader.py
@@ -61,7 +61,16 @@
         self.ProcessFindTJGTime = config.GetIntValue( "ProcessFindTJGTime")
         self.ServerDBConfigPath = config.GetValue( "ServerDBConfigPath")
         self.StartRunTime = config.GetIntValue( "StartRunTime")
-        
+        self.AccountSource = config.GetIntValue( "AccountSource")
+        self.MaxPlayerCnt = config.GetIntValue( "MaxPlayerCnt")
+    
+    def GetMaxPlayerCnt(self):
+        return self.MaxPlayerCnt
+    
+    # 账号获取来源 0:自动生成, 1:取库中已有账号
+    def GetAccountSource(self):
+        return self.AccountSource
+    
     def GetIOThreadNum(self):
         return self.IOThreadNum
     

--
Gitblit v1.8.0