mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
29
dGame/dInventory/EquippedItem.h
Normal file
29
dGame/dInventory/EquippedItem.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
#include "dCommonVars.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;
|
||||
};
|
Reference in New Issue
Block a user