Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Public Attributes | List of all members
cqsp::common::components::Order Struct Reference

#include <auction.h>

Public Member Functions

 Order ()
 
 Order (double price, double quantity, entt::entity agent)
 

Public Attributes

double price
 Price per unit More...
 
double quantity
 
entt::entity agent
 The agent that owns this order. Goods sold will go to the agent, money recieved will also go to the agent. Needs a wallet component. More...
 

Constructor & Destructor Documentation

◆ Order() [1/2]

cqsp::common::components::Order::Order ( )
inline

◆ Order() [2/2]

cqsp::common::components::Order::Order ( double  price,
double  quantity,
entt::entity  agent 
)
inline

Member Data Documentation

◆ agent

entt::entity cqsp::common::components::Order::agent

The agent that owns this order. Goods sold will go to the agent, money recieved will also go to the agent. Needs a wallet component.

◆ price

double cqsp::common::components::Order::price

Price per unit

◆ quantity

double cqsp::common::components::Order::quantity

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