32 lines
673 B
C++
32 lines
673 B
C++
#ifndef TRADE_HPP_INCLUDED
|
|
#define TRADE_HPP_INCLUDED
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
namespace Trade
|
|
{
|
|
bool IsOpen(bool CheckConfirm = true);
|
|
|
|
bool ConfirmOpen();
|
|
|
|
bool Close(bool AllowEsc = true);
|
|
|
|
bool AcceptedOffer();
|
|
|
|
bool AcceptOffer();
|
|
bool DeclineOffer();
|
|
|
|
|
|
std::vector<std::int32_t> GetMyOfferItemIDs();
|
|
std::vector<std::string> GetMyOfferItemNames();
|
|
std::vector<std::int32_t> GetMyOfferItemAmounts();
|
|
|
|
std::vector<std::int32_t> GetTheirOfferItemIDs();
|
|
std::vector<std::string> GetTheirOfferItemNames();
|
|
std::vector<std::int32_t> GetTheirOfferItemAmounts();
|
|
}
|
|
|
|
#endif // TRADE_HPP_INCLUDED
|