mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-27 16:07:22 +00:00
ec207838d4
Sanity checks on Prop and LUP launchpads to not open if no valid rocket Add serialization for sending item configs so that rockets show for other players
36 lines
626 B
C++
36 lines
626 B
C++
#pragma once
|
|
|
|
#include "dCommonVars.h"
|
|
#include "LDFFormat.h"
|
|
|
|
/**
|
|
* An item that's equipped, generally as a smaller return type than the regular Item class
|
|
*/
|
|
struct EquippedItem
|
|
{
|
|
/**
|
|
* The object ID of the equipped item
|
|
*/
|
|
LWOOBJID id = LWOOBJID_EMPTY;
|
|
|
|
/**
|
|
* The LOT of this equipped item
|
|
*/
|
|
LOT lot = LOT_NULL;
|
|
|
|
/**
|
|
* The number of items that are stored in this slot
|
|
*/
|
|
uint32_t count = 0;
|
|
|
|
/**
|
|
* The slot this item is stored in
|
|
*/
|
|
uint32_t slot = 0;
|
|
|
|
/**
|
|
* The configuration of the item with any extra data
|
|
*/
|
|
std::vector<LDFBaseData*> config = {};
|
|
};
|