public override void Update() { // Try get the other party's UUID and display name if (!Client.Instance.TryGetOtherPartyUuid(TradeId, out otherPartyUuid) || !Client.Instance.TryGetDisplayName(otherPartyUuid, out cachedOtherPartyDisplayName)) { // Failed to get the other party's display name throw new Exception("Failed to get the other party's display name."); } // Try get the other party's accepted state if (!Client.Instance.TryGetPartyAccepted(TradeId, otherPartyUuid, out cachedOtherPartyAccepted)) { // Failed to get the other party's accepted state throw new Exception("Failed to get whether the other party has accepted or not."); } // Update the pre-generated row content.Update(); }
/// <inheritdoc /> public override void Update() { // Just update the child. No need to update the padded one since it contains the same object. child.Update(); }
/// <inheritdoc /> public override void Update() { child.Update(); }
/// <inheritdoc /> public override void Update() { childIfTrue.Update(); childIfFalse.Update(); }