mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-12 02:13:43 -04:00
34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
#ifndef GetItemDetailsMessage_h
|
|
#define GetItemDetailsMessage_h
|
|
|
|
//#include "AuctionBase.h"
|
|
#include "sharedNetworkMessages/GameNetworkMessage.h"
|
|
#include "sharedFoundation/NetworkId.h"
|
|
|
|
class GetItemDetailsMessage : public GameNetworkMessage
|
|
{
|
|
|
|
public:
|
|
|
|
explicit GetItemDetailsMessage( int requestId, const NetworkId & auctionId, const NetworkId & playerId );
|
|
GetItemDetailsMessage(Archive::ReadIterator & source);
|
|
~GetItemDetailsMessage();
|
|
|
|
const NetworkId & GetAuctionId() const {return m_auctionId.get();}
|
|
const NetworkId & GetPlayerId() const {return m_playerId.get();}
|
|
int GetResponseId () const {return m_responseId.get();}
|
|
int GetTrackId () const {return m_trackId.get();}
|
|
void SetTrackId (int trackId) {m_trackId.set(trackId);}
|
|
|
|
protected:
|
|
|
|
private:
|
|
Archive::AutoVariable<int> m_responseId;
|
|
Archive::AutoVariable<int> m_trackId;
|
|
Archive::AutoVariable<NetworkId> m_auctionId;
|
|
Archive::AutoVariable<NetworkId> m_playerId;
|
|
|
|
};
|
|
|
|
#endif
|