mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Move unculled zones out of MapModel.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from dcs.mapping import LatLng
|
||||
from pydantic import BaseModel
|
||||
|
||||
from game.server.leaflet import LeafletPoly
|
||||
@@ -9,3 +10,8 @@ class MapZonesJs(BaseModel):
|
||||
inclusion: list[LeafletPoly]
|
||||
exclusion: list[LeafletPoly]
|
||||
sea: list[LeafletPoly]
|
||||
|
||||
|
||||
class UnculledZoneJs(BaseModel):
|
||||
position: LatLng
|
||||
radius: float
|
||||
|
||||
Reference in New Issue
Block a user