Offer¶ class src.tf2_utils.offer.TradeOfferState(*values)¶ Invalid = 1¶ Active = 2¶ Accepted = 3¶ Countered = 4¶ Expired = 5¶ Canceled = 6¶ Declined = 7¶ InvalidItems = 8¶ ConfirmationNeed = 9¶ CanceledBySecondaryFactor = 10¶ StateInEscrow = 11¶ class src.tf2_utils.offer.Offer(offer: dict)¶ get_state() → str¶ has_state(state: int) → bool¶ is_active() → bool¶ is_accepted() → bool¶ is_declined() → bool¶ has_trade_hold() → bool¶ is_our_offer() → bool¶ is_gift() → bool¶ is_scam() → bool¶ is_two_sided() → bool¶ is_one_sided() → bool¶ get_partner() → str¶