TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
Stores information about UPCs that have been posted to the board. More...
#include <upcstorage.h>
Public Member Functions | |
UpcPost () | |
UpcPost (FrameNum frame, UpcId upcId, UpcId sourceId, Module *module, std::shared_ptr< UPCTuple > upc=nullptr, std::shared_ptr< UpcPostData > data=nullptr) | |
Public Attributes | |
FrameNum | frame = -1 |
Game frame at time of post. More... | |
UpcId | upcId = kInvalidUpcId |
Identifier of posted UPC. More... | |
UpcId | sourceId = kInvalidUpcId |
Identifier of source UPC. More... | |
Module * | module = nullptr |
The module performing the transaction. More... | |
std::shared_ptr< UPCTuple > | upc = nullptr |
The actual UPC data. More... | |
std::shared_ptr< UpcPostData > | data = nullptr |
Data attached to this transaction. More... | |
Stores information about UPCs that have been posted to the board.
|
inline |
|
inline |
std::shared_ptr<UpcPostData> cherrypi::UpcPost::data = nullptr |
Data attached to this transaction.
FrameNum cherrypi::UpcPost::frame = -1 |
Game frame at time of post.
Module* cherrypi::UpcPost::module = nullptr |
The module performing the transaction.
UpcId cherrypi::UpcPost::sourceId = kInvalidUpcId |
Identifier of source UPC.
std::shared_ptr<UPCTuple> cherrypi::UpcPost::upc = nullptr |
The actual UPC data.
UpcId cherrypi::UpcPost::upcId = kInvalidUpcId |
Identifier of posted UPC.