mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2025-01-19 17:08:44 +01:00
add notices
This commit is contained in:
parent
8dcc10452e
commit
cdf7f51ea1
@ -7,6 +7,7 @@ export interface ConfigFile {
|
||||
serverIp?: string;
|
||||
gameOptions: GameOptions;
|
||||
unix?: UnixOptions;
|
||||
notices?: string[];
|
||||
}
|
||||
|
||||
export interface UnixOptions {
|
||||
|
@ -288,10 +288,12 @@ export default class GameModule extends Module {
|
||||
category: x.category
|
||||
}
|
||||
});
|
||||
let notice = (Config.getConfig().notices || []);
|
||||
let noticeWindows = notice.map(a => wm.wm.protobuf.NoticeEntry.NOTICE_UNUSED_1);
|
||||
let msg = {
|
||||
error: wm.wm.protobuf.ErrorCode.ERR_SUCCESS,
|
||||
noticeWindow: [],
|
||||
noticeWindowMessage: [],
|
||||
noticeWindow: noticeWindows,
|
||||
noticeWindowMessage: notice,
|
||||
transferNotice: {
|
||||
needToSeeTransferred: false,
|
||||
totalMaxiGold: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user