| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  | using System.Collections.Generic; | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-30 02:21:29 +00:00
										 |  |  |  | /* | 
					
						
							|  |  |  |  |  Custom Remote Config | 
					
						
							|  |  |  |  |  1. add TKGParamKey below | 
					
						
							|  |  |  |  |  2. add key and default value to dic | 
					
						
							|  |  |  |  |  3. use online param | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  | public static class TKGParams | 
					
						
							|  |  |  |  | { | 
					
						
							|  |  |  |  |     public static readonly Dictionary<string, object> OnlineParamDic = new Dictionary<string, object>() | 
					
						
							|  |  |  |  |     { | 
					
						
							| 
									
										
										
										
											2022-08-30 02:21:29 +00:00
										 |  |  |  |         // key - default value | 
					
						
							|  |  |  |  |         { TKGParamKey.RemoveAdsShowCount.ToString(), 4 },    // int value    //  | 
					
						
							|  |  |  |  |         { TKGParamKey.LevelList.ToString(), "1,78,72,70,64,65,4,66" }, // string value | 
					
						
							|  |  |  |  |         { TKGParamKey.HasBlock.ToString(), 0 },     // bool value // 1:true 0:false | 
					
						
							| 
									
										
										
										
											2022-08-30 05:43:52 +00:00
										 |  |  |  |                 { TKGParamKey.UserGroup.ToString(), "Default" }, | 
					
						
							| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  |         { TKGParamKey.RemoveAdsShow.ToString(), 2 }, | 
					
						
							|  |  |  |  |         { TKGParamKey.RemoveAds.ToString(), 4 }, | 
					
						
							|  |  |  |  |         { TKGParamKey.LevelInterSwitch.ToString(), 3 }, | 
					
						
							| 
									
										
										
										
											2022-06-08 13:23:44 +00:00
										 |  |  |  |         { TKGParamKey.NativeSwitch.ToString(), 1 }, | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         { TKGParamKey.AutoMergeOpenLv.ToString(), 20}, | 
					
						
							|  |  |  |  |         { TKGParamKey.AutoMergeAddCount.ToString(), 20}, | 
					
						
							|  |  |  |  |         { TKGParamKey.SellWarningLevel.ToString(), 4} | 
					
						
							| 
									
										
										
										
											2022-08-30 02:21:29 +00:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  |     }; | 
					
						
							|  |  |  |  | } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | public enum TKGParamKey | 
					
						
							|  |  |  |  | { | 
					
						
							| 
									
										
										
										
											2022-08-30 02:21:29 +00:00
										 |  |  |  |     RemoveAdsShowCount, | 
					
						
							|  |  |  |  |     LevelList, | 
					
						
							|  |  |  |  |     HasBlock, | 
					
						
							| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  |     UserGroup, | 
					
						
							|  |  |  |  |     RemoveAdsShow, | 
					
						
							|  |  |  |  |     RemoveAds, | 
					
						
							|  |  |  |  |     LevelInterSwitch, | 
					
						
							| 
									
										
										
										
											2022-06-08 13:23:44 +00:00
										 |  |  |  |     NativeSwitch, | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     AutoMergeOpenLv, | 
					
						
							|  |  |  |  |     AutoMergeAddCount, | 
					
						
							|  |  |  |  |     SellWarningLevel | 
					
						
							| 
									
										
										
										
											2022-08-30 02:21:29 +00:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-23 13:39:59 +00:00
										 |  |  |  | } |