Files
Grinch-AP/worlds/grinch/RamHandler.py

11 lines
375 B
Python
Raw Normal View History

from typing import NamedTuple, Optional
class GrinchRamData(NamedTuple):
ram_address: int
value: Optional[int] = None #none is empty/null
# Either set or add either hex or unsigned values through Client.py
# Hex uses 0x00, unsigned are base whole numbers
binary_bit_pos: Optional[int] = None
bit_size: int = 1
2025-08-14 00:20:12 -04:00
update_existing_value: bool = False