mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:20:05 +00:00 
			
		
		
		
	Adding settings for debug enabled and font sizes
This commit is contained in:
		
							parent
							
								
									a3bd6ba65c
								
							
						
					
					
						commit
						81f1beb8d8
					
				
					 6 changed files with 199 additions and 33 deletions
				
			
		|  | @ -13,12 +13,22 @@ namespace util | |||
| namespace json | ||||
| { | ||||
| 
 | ||||
| bool FromJsonBool(const boost::json::object& json, | ||||
|                   const std::string&         key, | ||||
|                   bool&                      value, | ||||
|                   const bool                 defaultValue); | ||||
| bool FromJsonInt64(const boost::json::object& json, | ||||
|                    const std::string&         key, | ||||
|                    int64_t&                   value, | ||||
|                    const int64_t              defaultValue, | ||||
|                    std::optional<int64_t>     minValue, | ||||
|                    std::optional<int64_t>     maxValue); | ||||
| bool FromJsonInt64Array(const boost::json::object&  json, | ||||
|                         const std::string&          key, | ||||
|                         std::vector<int64_t>&       values, | ||||
|                         const std::vector<int64_t>& defaultValues, | ||||
|                         std::optional<int64_t>      minValue, | ||||
|                         std::optional<int64_t>      maxValue); | ||||
| bool FromJsonString(const boost::json::object& json, | ||||
|                     const std::string&         key, | ||||
|                     std::string&               value, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat