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::MarketOrder Struct Reference

#include <market.h>

Public Member Functions

 MarketOrder (entt::entity target, double amount, double price)
 

Public Attributes

entt::entity target
 
double amount
 
double price
 

Constructor & Destructor Documentation

◆ MarketOrder()

cqsp::common::components::MarketOrder::MarketOrder ( entt::entity  target,
double  amount,
double  price 
)
inline

Member Data Documentation

◆ amount

double cqsp::common::components::MarketOrder::amount

◆ price

double cqsp::common::components::MarketOrder::price

◆ target

entt::entity cqsp::common::components::MarketOrder::target

If it is a buy order it is the entity that wants to buy, if it is a sell order, it is the entity that is selling it.g


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