wacca: name unknown fields, rename incorrect fields.

This commit is contained in:
Zsolt Zitting 2023-10-26 14:25:04 -07:00
parent be86448b23
commit 680223dba2

View File

@ -116,43 +116,43 @@ class HousingInfo:
class Notice: class Notice:
name: str = ""
title: str = "" title: str = ""
message: str = "" message: str = ""
unknown3: str = "" dialog: str = ""
unknown4: str = "" fullImage: str = ""
messageImage: str = ""
showTitleScreen: bool = True showTitleScreen: bool = True
showWelcomeScreen: bool = True showWelcomeScreen: bool = True
startTime: int = 0 startTime: int = 0
endTime: int = 0 endTime: int = 0
voiceline: int = 0 voiceLine: int = 0
def __init__( def __init__(
self, self,
name: str = "",
title: str = "", title: str = "",
message: str = "", message: str = "",
dialog: str = "",
start: int = 0, start: int = 0,
end: int = 0, end: int = 0,
) -> None: ) -> None:
self.name = name
self.title = title self.title = title
self.message = message self.message = message
self.dialog = dialog
self.startTime = start self.startTime = start
self.endTime = end self.endTime = end
def make(self) -> List: def make(self) -> List:
return [ return [
self.name,
self.title, self.title,
self.message, self.message,
self.unknown3, self.dialog,
self.unknown4, self.fullImage,
self.messageImage,
int(self.showTitleScreen), int(self.showTitleScreen),
int(self.showWelcomeScreen), int(self.showWelcomeScreen),
self.startTime, self.startTime,
self.endTime, self.endTime,
self.voiceline, self.voiceLine,
] ]