Changeset 426 for binary-improvements2/MapRendering
- Timestamp:
- Apr 24, 2023, 2:40:34 PM (19 months ago)
- Location:
- binary-improvements2/MapRendering
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/ModInfo.xml
r425 r426 5 5 <Description value="Render the game map to image map tiles as it is uncovered" /> 6 6 <Author value="The Fun Pimps LLC" /> 7 <Version value="21.0.2 58.0" />7 <Version value="21.0.270.0" /> 8 8 <Website value="" /> 9 9 </xml> -
binary-improvements2/MapRendering/src/Api/Map.cs
r425 r426 3 3 using Utf8Json; 4 4 using Webserver; 5 using Webserver.Permissions; 5 6 using Webserver.WebAPI; 6 7 … … 30 31 } 31 32 32 public override int DefaultMethodPermissionLevel (ERequestMethod _method) { 33 return _method switch { 34 ERequestMethod.GET => 2000, 35 _ => base.DefaultMethodPermissionLevel (_method) 36 }; 37 } 33 public override int[] DefaultMethodPermissionLevels () => new[] { 34 AdminWebModules.MethodLevelNotSupported, 35 AdminWebModules.PermissionLevelGuest, 36 AdminWebModules.MethodLevelInheritGlobal, 37 AdminWebModules.MethodLevelInheritGlobal, 38 AdminWebModules.MethodLevelInheritGlobal 39 }; 38 40 } 39 41 }
Note:
See TracChangeset
for help on using the changeset viewer.