1
0
EQ2Emu/docs/lua_functions/DeleteDBShardID.md

19 lines
490 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### Function: DeleteDBShardID(ShardID)
**Description:**
Removes the database record for a given spirit shard, effectively deleting the shard (often after its been collected or expired).
**Parameters:**
- `shardid` (uint32) - Integer value `shardid`.
**Returns:** None.
**Example:**
```lua
-- Example usage (clean up a shard after player retrieves it)
if DeleteDBShardID(shardID) then
SendMessage(Player, "You feel whole again as your spirit shard dissipates.", "white")
end
```