async하게 수정
This commit is contained in:
@@ -32,6 +32,7 @@ namespace AutoSellerNS
|
||||
m_Data.Add("time-limit", 5);
|
||||
m_Data.Add("time-down", 0.02);
|
||||
m_Data.Add("ignore-price", 50000);
|
||||
m_Data.Add("mock-trading", false);
|
||||
|
||||
Load();
|
||||
}
|
||||
@@ -144,5 +145,12 @@ namespace AutoSellerNS
|
||||
public static int GetTimeLimit() { return (int)m_Data["time-limit"]; }
|
||||
public static double GetTimeDown() { return (double)m_Data["time-down"]; }
|
||||
public static int GetIgnorePrice() { return (int)m_Data["ignore-price"]; }
|
||||
public static void SetMockTrading(bool bMockTrading) { m_Data["mock-trading"] = bMockTrading; Save(); }
|
||||
public static bool GetMockTrading() { return (bool)m_Data["mock-trading"]; }
|
||||
|
||||
public static Dictionary<string, object> GetAllConfig()
|
||||
{
|
||||
return m_Data;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user