TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | Public Attributes | List of all members
cherrypi::UpcPost Struct Reference

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...
 
Modulemodule = nullptr
 The module performing the transaction. More...
 
std::shared_ptr< UPCTupleupc = nullptr
 The actual UPC data. More...
 
std::shared_ptr< UpcPostDatadata = nullptr
 Data attached to this transaction. More...
 

Detailed Description

Stores information about UPCs that have been posted to the board.

Constructor & Destructor Documentation

cherrypi::UpcPost::UpcPost ( )
inline
cherrypi::UpcPost::UpcPost ( FrameNum  frame,
UpcId  upcId,
UpcId  sourceId,
Module module,
std::shared_ptr< UPCTuple upc = nullptr,
std::shared_ptr< UpcPostData data = nullptr 
)
inline

Member Data Documentation

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.


The documentation for this struct was generated from the following file: