Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
WGWorkshop Struct Reference

#include <BattlefieldWG.h>

Collaboration diagram for WGWorkshop:

Public Member Functions

void GiveControlTo (uint8 team, bool init)
void Save () const
void UpdateGraveyardAndWorkshop ()
 WGWorkshop (BattlefieldWG *_bf, uint8 _workshopId)

Public Attributes

BattlefieldWGbf
uint32 state
uint8 teamControl
uint8 workshopId

Detailed Description

Definition at line 1454 of file BattlefieldWG.h.

Constructor & Destructor Documentation

◆ WGWorkshop()

WGWorkshop::WGWorkshop ( BattlefieldWG * _bf,
uint8 _workshopId )
inline

Member Function Documentation

◆ GiveControlTo()

◆ Save()

void WGWorkshop::Save ( ) const
inline

Definition at line 1518 of file BattlefieldWG.h.

References state, sWorld, workshopId, and WorkshopsData.

◆ UpdateGraveyardAndWorkshop()

void WGWorkshop::UpdateGraveyardAndWorkshop ( )
inline

Member Data Documentation

◆ bf

BattlefieldWG* WGWorkshop::bf

Definition at line 1457 of file BattlefieldWG.h.

Referenced by GiveControlTo(), UpdateGraveyardAndWorkshop(), and WGWorkshop().

◆ state

uint32 WGWorkshop::state

Definition at line 1463 of file BattlefieldWG.h.

Referenced by GiveControlTo(), and Save().

◆ teamControl

uint8 WGWorkshop::teamControl

Definition at line 1461 of file BattlefieldWG.h.

Referenced by GiveControlTo(), UpdateGraveyardAndWorkshop(), and WGWorkshop().

◆ workshopId

uint8 WGWorkshop::workshopId

Definition at line 1459 of file BattlefieldWG.h.

Referenced by GiveControlTo(), Save(), UpdateGraveyardAndWorkshop(), and WGWorkshop().


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