forked from Hay1tsme/artemis
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:
commit
4b83d3f316
@ -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,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user