protected void HealAction() { if (base.bulletSkillInfoParam != null) { StageObject target = GetTarget(); if (!(target == null) && (target.IsCoopNone() || target.IsOriginal()) && target is Player) { (target as Player).OnHealReceive(base.bulletSkillInfoParam.healHp, base.bulletSkillInfoParam.tableData.healType, HEAL_EFFECT_TYPE.BASIS, true); } } }
public static void SetOfflineForAll() { //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: Unknown result type (might be due to invalid IL or missing references) if (MonoBehaviourSingleton <StageObjectManager> .IsValid()) { MonoBehaviourSingleton <StageObjectManager> .I.cacheList.ForEach(delegate(StageObject obj) { //IL_0001: Unknown result type (might be due to invalid IL or missing references) obj.get_gameObject().SetActive(true); }); MonoBehaviourSingleton <StageObjectManager> .I.ClearCacheObject(); Vector3 val = Vector3.get_zero(); if (MonoBehaviourSingleton <StageObjectManager> .I.boss != null) { val = MonoBehaviourSingleton <StageObjectManager> .I.boss._transform.get_position(); } int i = 0; for (int count = MonoBehaviourSingleton <StageObjectManager> .I.objectList.Count; i < count; i++) { StageObject stageObject = MonoBehaviourSingleton <StageObjectManager> .I.objectList[i]; if (!stageObject.IsCoopNone()) { stageObject.SetCoopMode(StageObject.COOP_MODE_TYPE.NONE, 0); } stageObject.isCoopInitialized = true; if (stageObject is Player) { Player player = stageObject as Player; SetAI(player); if (!player.isSetAppearPos) { if (player is Self) { player.SetAppearPosOwner(val); } else { player.SetAppearPosGuest(val); } } if (player.isWaitBattleStart) { player.ActBattleStart(false); } } else if (stageObject is Enemy) { Enemy enemy = stageObject as Enemy; SetAI(enemy); if (!enemy.isSetAppearPos) { enemy.SetAppearPosEnemy(); } } } } }