public override void OnUpdate() { //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: Unknown result type (might be due to invalid IL or missing references) base.OnUpdate(); if (actUpdateSendFlag) { float num = MonoBehaviourSingleton <InGameSettingsManager> .I.character.moveSendInterval; int i = 0; for (int count = character.periodicSyncOwnerList.Count; i < count; i++) { StageObject stageObject = character.periodicSyncOwnerList[i]; if (stageObject.IsMirror() || stageObject.IsPuppet()) { num = MonoBehaviourSingleton <InGameSettingsManager> .I.character.periodicSyncActionPositionCheckTime + MonoBehaviourSingleton <InGameSettingsManager> .I.character.periodicSyncActionPositionApplyTime; break; } } actUpdateTimer += Time.get_deltaTime(); if (character.actionID == Character.ACTION_ID.MOVE && actUpdateTimer >= num) { Coop_Model_CharacterMoveVelocity coop_Model_CharacterMoveVelocity = new Coop_Model_CharacterMoveVelocity(); coop_Model_CharacterMoveVelocity.id = base.owner.id; coop_Model_CharacterMoveVelocity.time = actUpdateTimer; coop_Model_CharacterMoveVelocity.pos = base.owner._position; coop_Model_CharacterMoveVelocity.motion_id = moveMotion; coop_Model_CharacterMoveVelocity.target_id = ((!(character.actionTarget != null)) ? (-1) : character.actionTarget.id); if (base.enableSend && base.owner.IsOriginal()) { SendBroadcast(coop_Model_CharacterMoveVelocity, false, null, null); } StackActionHistory(coop_Model_CharacterMoveVelocity, true); actUpdateTimer = 0f; } } if (character.isControllable || character.enableMotionCancel) { PassNeedWaitSyncTime(Time.get_deltaTime()); } }