Merge pull request 'wacca: name unknown fields, rename incorrect fields.' (#56) from Yellowberry/artemis:wacca_notice_fix into develop

Reviewed-on: Hay1tsme/artemis#56
This commit is contained in:
Hay1tsme 2023-10-27 02:06:38 +00:00
commit 4b83d3f316

View File

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