more packets using fixed size integers

This commit is contained in:
d1str4ught
2025-08-23 14:00:40 +02:00
parent 240f4f24c3
commit 08043416c5
16 changed files with 440 additions and 444 deletions

View File

@@ -1044,13 +1044,13 @@ bool CItem::CreateSocket(BYTE bSlot, BYTE bGold)
return true;
}
void CItem::SetSockets(const long * c_al)
void CItem::SetSockets(const int32_t* c_al)
{
thecore_memcpy(m_alSockets, c_al, sizeof(m_alSockets));
Save();
}
void CItem::SetSocket(int i, long v, bool bLog)
void CItem::SetSocket(int i, int32_t v, bool bLog)
{
assert(i < ITEM_SOCKET_MAX_NUM);
m_alSockets[i] = v;