public IEnumerator ApplyActivityState(Coroutine co, ActivityCharacterProxy _this, ApplyActivityStateInMessage msg) { var state = WorldBossManager.GetState(SceneExtension.GetServerLogicId(msg.Request.ServerId)); msg.Response.Data.Add((int)eActivity.WorldBoss, (int)state); msg.Reply(); yield break; }
public IEnumerator SSApplyActivityState(Coroutine coroutine, ActivityService _this, SSApplyActivityStateInMessage msg) { var state = WorldBossManager.GetState(msg.Request.ServerId); msg.Response = (int)state; msg.Reply(); yield return(null); }