Esempio n. 1
0
 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));
 }
Esempio n. 8
0
 public void onLotteryDrawed()
 {
     base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_LOTTERY_DRAW, this, null, false));
 }
Esempio n. 9
0
 public void onMapChanged()
 {
     base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_MAP_CHANGED, this, null, false));
 }
Esempio n. 10
0
 public void onWinOpen(string winid)
 {
     base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_WIN_OPEN, this, winid, false));
 }
Esempio n. 11
0
 public void onWinClosed(string winid)
 {
     UiEventCenter.lastClosedWinID = winid;
     base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_WIN_CLOSE, this, winid, false));
 }
Esempio n. 12
0
 public void onConnectFailed()
 {
     this.dispatchEvent(GameEvent.Create(GAME_EVENT_DEFAULT.CONN_FAILE, this, null));
 }
Esempio n. 13
0
 public void onConnectionClose()
 {
     this.dispatchEvent(GameEvent.Create(GAME_EVENT_DEFAULT.CONN_CLOSE, this, null));
 }
Esempio n. 14
0
 public void onServerVersionRecv()
 {
     this.dispatchEvent(GameEvent.Create(GAME_EVENT_DEFAULT.CONN_VER, this, null));
 }
Esempio n. 15
0
 protected void eventAct(uint uiEventId, Variant data)
 {        //
     dispatchEvent(
         GameEvent.Create(uiEventId, this, data)
         );
 }
Esempio n. 16
0
 public void onHeroSkillPlayerOver()
 {
     base.dispatchEvent(GameEvent.Create(UiEventCenter.EVENT_HERO_3D_SKILL_OVER, this, null, false));
 }
Esempio n. 17
0
 virtual protected void onPlaySound(GameEvent e)
 {
 }
Esempio n. 18
0
 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));
 }
Esempio n. 20
0
 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));
 }
Esempio n. 22
0
 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));
 }
Esempio n. 24
0
 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));
 }
Esempio n. 26
0
 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));
 }
Esempio n. 28
0
 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));
 }
Esempio n. 30
0
        //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)
                );
        }