public override void OnInit() { bool reportMode = this.self.unitControlType == UnitControlType.PvpAIControl || this.self.unitControlType == UnitControlType.PvpMyControl; this.SetReportMode(reportMode); this.mInterPCurrState = NetController.InterPState.Predicting; this.mInterPLastTicks = 0L; this.mInterPLastIsMoving = false; this.mInterPLastSpeed = Vector3.zero; this.mInterPLastRotateY = 0f; this.mInterPCatchSnap = null; this.mInterPSnapList.Clear(); this.mPredictElapsedTime = 0f; }
private void ChangeInterPCurrState(NetController.InterPState state) { this.mInterPCurrState = state; }