public void Update() { if (mSocket == null) { return; } if (0 == mNextUpdateTime || mKCP.CurrentMS >= mNextUpdateTime) { mKCP.Update(); mNextUpdateTime = mKCP.Check(); } }
public void Update() { if (this.listener == null) { return; } if (0 == mNextUpdateTime || mKCP.CurrentMS >= mNextUpdateTime) { mKCP.Update(); mNextUpdateTime = mKCP.Check(); } }