TrinityCore
BlackMarketTemplate Struct Reference

#include <BlackMarketMgr.h>

Public Member Functions

bool LoadFromDB (Field *fields)
 

Public Attributes

int32 MarketID = 0
 
int32 SellerNPC = 0
 
int32 Quantity = 0
 
uint64 MinBid = UI64LIT(0)
 
time_t Duration = time_t(0)
 
float Chance = 0.0f
 
WorldPackets::Item::ItemInstance Item
 

Detailed Description

Definition at line 56 of file BlackMarketMgr.h.

Member Function Documentation

◆ LoadFromDB()

bool BlackMarketTemplate::LoadFromDB ( Field fields)

Definition at line 362 of file BlackMarketMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ Chance

float BlackMarketTemplate::Chance = 0.0f

Definition at line 63 of file BlackMarketMgr.h.

◆ Duration

time_t BlackMarketTemplate::Duration = time_t(0)

Definition at line 62 of file BlackMarketMgr.h.

◆ Item

WorldPackets::Item::ItemInstance BlackMarketTemplate::Item

Definition at line 64 of file BlackMarketMgr.h.

◆ MarketID

int32 BlackMarketTemplate::MarketID = 0

Definition at line 58 of file BlackMarketMgr.h.

◆ MinBid

uint64 BlackMarketTemplate::MinBid = UI64LIT(0)

Definition at line 61 of file BlackMarketMgr.h.

◆ Quantity

int32 BlackMarketTemplate::Quantity = 0

Definition at line 60 of file BlackMarketMgr.h.

◆ SellerNPC

int32 BlackMarketTemplate::SellerNPC = 0

Definition at line 59 of file BlackMarketMgr.h.


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