SNIClient: dynamically generate patch file identifier (#2870)

Co-authored-by: beauxq <beauxq@yahoo.com>
This commit is contained in:
Silvris
2024-03-07 03:18:22 -06:00
committed by GitHub
parent 862d77820d
commit b4bb88fcf7
8 changed files with 50 additions and 5 deletions

View File

@@ -471,6 +471,7 @@ async def track_locations(ctx, roomid, roomdata) -> bool:
class ALTTPSNIClient(SNIClient):
game = "A Link to the Past"
patch_suffix = [".aplttp", ".apz3"]
async def deathlink_kill_player(self, ctx):
from SNIClient import DeathState, snes_read, snes_buffered_write, snes_flush_writes