-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
904 additions
and
175 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
|
||
/** | ||
* 事件名称 | ||
* 自定义事件名统一放到这里,从这里去获取事件名 | ||
*/ | ||
export class EventType | ||
{ | ||
|
||
public static Ack_JoinFight:string='Ack_JoinFight'; | ||
public static Ack_FightAction:string='Ack_FightAction'; | ||
public static Ack_LeaveFight:string='Ack_LeaveFight'; | ||
|
||
public static Req_cmd_Attack :string='Req_cmd_Attack'; //攻击 | ||
public static Req_cmd_Casting :string='Req_cmd_Casting';//施法 | ||
public static Req_cmd_def :string='Req_cmd_def'; //防御 | ||
|
||
|
||
public static playActionFinish:string="playActionFinish"; | ||
// public static EVENT_NAME:string='event_name'; | ||
// public static MAIN_BTN_EVENT:string='main_btn_event'; | ||
// public static SWITCH_PANEL:string='Switch_panel'; | ||
// public static SWITCH_SYSTEM:string='switch_system'; | ||
/** 加载进度完成,加载主场景 */ | ||
public static LOAD_COMPLETED:string='load_completed'; | ||
/** | ||
* UI界面加载完成 | ||
*/ | ||
public static UI_LOBBY_COMPLETE:string='ui_panel_load_loaded'; | ||
} | ||
|
||
export class System_Event | ||
{ | ||
/** Mouse Event */ | ||
public static MOUSE_CLICK:string='click'; | ||
public static MOUSE_DOWN:string='mousedown' | ||
public static MOUSE_ENTER:string='mouseenter'; | ||
public static MOUSE_MOVE:string='mousemove'; | ||
public static MOUSE_LEAVE:string='mouseleave'; | ||
public static MOUSE_UP:string='mouseup'; | ||
public static MOUSE_WHEEL:string='mousewheel'; | ||
|
||
/** Touch Event */ | ||
public static TOUCH_START:string='touchstart'; | ||
public static TOUCH_MOVE:string='touchmove'; | ||
public static TOUCH_END:string='touchend'; | ||
public static TOUCH_CANCEL:string='touchcancel'; | ||
|
||
public constructor(){ | ||
|
||
} | ||
} | ||
|
||
|
||
export enum EventEnum | ||
{ | ||
SWITCH='', | ||
JDLSD='' | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"ver": "1.0.5", | ||
"uuid": "8412ff74-b2e7-40d1-aa06-51bfa976a7bc", | ||
"isPlugin": false, | ||
"loadPluginInWeb": true, | ||
"loadPluginInNative": true, | ||
"loadPluginInEditor": false, | ||
"subMetas": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.