mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
21 lines
414 B
Python
21 lines
414 B
Python
from abc import abstractmethod
|
|
from typing import Optional, List
|
|
|
|
|
|
class Callsign:
|
|
name: Optional[str] = None
|
|
nr: Optional[int] = None
|
|
|
|
def __init__(self, name: Optional[str], nr: int) -> None:
|
|
self.name = name
|
|
self.nr = nr
|
|
|
|
|
|
class CallsignContainer:
|
|
callsign: Optional[Callsign] = None
|
|
|
|
@property
|
|
@abstractmethod
|
|
def available_callsigns(self) -> List[str]:
|
|
...
|