123456789101112131415161718192021222324252627282930313233 |
- export namespace FrameworkConf {
- //数据加密,如果不需要将key和iv设置为"",该模块在浏览器下不生效
- export const storage_key = "__(iIwqTS8dA7&mWD(q&&__"; //数据加密key
- export const storage_iv = "__j@Q*B3LNAzgP0uR@Q__"; //数据加密key的偏移量
- export const frame_load_count = 1; //每帧加载数量
- export const frame_preload_count = 1;
-
- export const WebEvent = {
- //关闭窗口
- CLOSE:"Close subgame!",
- OPEN:"Open subgame!",
- }
- //系统事件
- export const Event = {
- INIT_FINISH: "FW_INIT_FINISH",
- GAME_SHOW: "FW_GAME_SHOW",
- GAME_HIDE: "FW_GAME_HIDE",
- GAME_RESIZE: "FW_GAME_RESIZE",
- NET_ERROR: "FW_NET_ERROR",
- NET_CLOSE: "FW_NET_CLOSE",
- OPEND_UI: "FW_OPEND_UI",
- CLOSE_UI: "FW_CLOSE_UI",
- NET_MSG: "FW_NET_MSG",
- NET_RECONNECT: "FW_NET_RECONNECT", //重连成功
- NET_HANDSHAKE_ERROR: "FW_NET_HANDSHAKE_ERROR", //握手错误码
-
- }
- }
|