public void onError(string msg) { this.dispatchEvent(GameEvent.Create(GAME_EVENT_DEFAULT.CONN_ERR, this, null)); }
public void onNewSkill() { dispatchEvent(GameEvent.Create(EVENT_NEW_SKILL, this, null)); }
public void onStartMove() { dispatchEvent(GameEvent.Create(EVENT_START_MOVE, this, null)); }
public void onHeroSkillPlayerOver() { dispatchEvent(GameEvent.Create(EVENT_HERO_3D_SKILL_OVER, this, null)); }
public void onFbWipeoutOver() { dispatchEvent(GameEvent.Create(EVENT_FB_WIPEOUT_OVER, this, null)); }
public void onWinOpen(string winid) { dispatchEvent(GameEvent.Create(EVENT_WIN_OPEN, this, winid)); }
public void onLotteryDrawed() { dispatchEvent(GameEvent.Create(EVENT_LOTTERY_DRAW, this, null)); }
public void onLotteryDrawed() { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_LOTTERY_DRAW, this, null, false)); }
public void onMapChanged() { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_MAP_CHANGED, this, null, false)); }
public void onWinOpen(string winid) { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_WIN_OPEN, this, winid, false)); }
public void onWinClosed(string winid) { UiEventCenter.lastClosedWinID = winid; base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_WIN_CLOSE, this, winid, false)); }
public void onConnectFailed() { this.dispatchEvent(GameEvent.Create(GAME_EVENT_DEFAULT.CONN_FAILE, this, null)); }
public void onConnectionClose() { this.dispatchEvent(GameEvent.Create(GAME_EVENT_DEFAULT.CONN_CLOSE, this, null)); }
public void onServerVersionRecv() { this.dispatchEvent(GameEvent.Create(GAME_EVENT_DEFAULT.CONN_VER, this, null)); }
protected void eventAct(uint uiEventId, Variant data) { // dispatchEvent( GameEvent.Create(uiEventId, this, data) ); }
public void onHeroSkillPlayerOver() { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_HERO_3D_SKILL_OVER, this, null, false)); }
virtual protected void onPlaySound(GameEvent e) { }
public void onFbWipeoutOver() { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_FB_WIPEOUT_OVER, this, null, false)); }
public void onWinClosed(string winid) { lastClosedWinID = winid; dispatchEvent(GameEvent.Create(EVENT_WIN_CLOSE, this, winid)); }
public void onAchiInited() { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_ACHIEVE_INITED, this, null, false)); }
public void onMapChanged() { dispatchEvent(GameEvent.Create(EVENT_MAP_CHANGED, this, null)); }
public void onNewSkill() { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_NEW_SKILL, this, null, false)); }
public void onFbInited() { dispatchEvent(GameEvent.Create(EVENT_FB_INITED, this, null)); }
public void onSkillDrawEnd() { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_SKILL_DRAWEND, this, null, false)); }
public void onAchiInited() { dispatchEvent(GameEvent.Create(EVENT_ACHIEVE_INITED, this, null)); }
public void onStartMove() { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_START_MOVE, this, null, false)); }
public void onSkillDrawEnd() { dispatchEvent(GameEvent.Create(EVENT_SKILL_DRAWEND, this, null)); }
public void onAddPoint() { base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_ADD_POINT, this, null, false)); }
public void onAddPoint() { dispatchEvent(GameEvent.Create(EVENT_ADD_POINT, this, null)); }
//public void onRPC(uint cmdID, string cmdName, Variant par) //{ // //trace( "onRpc" + cmdID ); // this.dispatchEvent( GameEvent.Createimmedi( cmdID, this, par ) ); //} ///// 58 -> 50 //public void onTPKG(uint cmdID, Variant par) //{ // //trace( "ontpkg" + cmdID ); // this.dispatchEvent( // GameEvent.Create( // (GAME_EVENT_DEFAULT.TYPE_PKG_OFFSET + cmdID ), // this, // par // ) // ); //} public void onLogin(Variant data) { this.dispatchEvent( GameEvent.Create(GAME_EVENT_DEFAULT.ON_LOGIN, this, data) ); }