SudFSMMGDecorator 和并PD的跳转修复

This commit is contained in:
ningwenqiang 2024-10-14 09:55:56 +08:00
parent 7937ef70bc
commit 7c8db902f3

View File

@ -10,6 +10,7 @@ import android.util.Log;
import com.blankj.utilcode.util.LogUtils; import com.blankj.utilcode.util.LogUtils;
import com.yunbao.common.event.CheckRemainingBalanceEvent; import com.yunbao.common.event.CheckRemainingBalanceEvent;
import com.yunbao.common.sud.decorator.game.JumpEvent;
import com.yunbao.common.sud.state.SudMGPMGState; import com.yunbao.common.sud.state.SudMGPMGState;
import com.yunbao.common.utils.Bus; import com.yunbao.common.utils.Bus;
import com.yunbao.common.utils.ISudFSMStateHandleUtils; import com.yunbao.common.utils.ISudFSMStateHandleUtils;
@ -372,6 +373,7 @@ public class SudFSMMGDecorator implements ISudFSMMG {
} else { } else {
listener.onGameMGCommonGameCreateOrder(handle, mgCommonGameCreateOrder); listener.onGameMGCommonGameCreateOrder(handle, mgCommonGameCreateOrder);
} }
JumpEvent.hit(mgCommonGameCreateOrder);
break; break;
case SudMGPMGState.MG_COMMON_PLAYER_ROLE_ID: // 26. 游戏通知app玩家角色(仅对狼人杀有效) case SudMGPMGState.MG_COMMON_PLAYER_ROLE_ID: // 26. 游戏通知app玩家角色(仅对狼人杀有效)
SudMGPMGState.MGCommonPlayerRoleId mgCommonPlayerRoleId = SudJsonUtils.fromJson(dataJson, SudMGPMGState.MGCommonPlayerRoleId.class); SudMGPMGState.MGCommonPlayerRoleId mgCommonPlayerRoleId = SudJsonUtils.fromJson(dataJson, SudMGPMGState.MGCommonPlayerRoleId.class);