mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:20:05 +00:00 
			
		
		
		
	Grid width and grid height
This commit is contained in:
		
							parent
							
								
									1db9b40394
								
							
						
					
					
						commit
						2f47f0c229
					
				
					 6 changed files with 144 additions and 6 deletions
				
			
		|  | @ -1,5 +1,7 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <optional> | ||||
| 
 | ||||
| #include <boost/json.hpp> | ||||
| 
 | ||||
| namespace scwx | ||||
|  | @ -11,6 +13,12 @@ namespace util | |||
| namespace json | ||||
| { | ||||
| 
 | ||||
| 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 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