mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Renamed Type7Param to ItemRefParam. Changed a lot of "inventoryType" names to "itemPackage". Moved inventory code to Character class for easier use and auto-choosing the correct package.
This commit is contained in:
parent
3850860440
commit
bbac4b0fce
6 changed files with 227 additions and 77 deletions
|
@ -21,7 +21,6 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
|||
public ulong uniqueId;
|
||||
public uint itemId;
|
||||
public int quantity = 1;
|
||||
public ushort slot;
|
||||
|
||||
public byte dealingVal = 0;
|
||||
public byte dealingMode = DEALINGMODE_NONE;
|
||||
|
@ -39,6 +38,8 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
|||
public ItemModifier modifiers;
|
||||
|
||||
public readonly ItemData itemData;
|
||||
public ushort slot;
|
||||
public ushort itemPackage;
|
||||
|
||||
public class ItemModifier
|
||||
{
|
||||
|
@ -195,6 +196,12 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
|||
return data;
|
||||
}
|
||||
|
||||
public void RefreshPositioning(ushort itemPackage, ushort slot)
|
||||
{
|
||||
this.itemPackage = itemPackage;
|
||||
this.slot = slot;
|
||||
}
|
||||
|
||||
public void SetExclusive(bool isExclusive)
|
||||
{
|
||||
tags[1] = isExclusive ? TAG_EXCLUSIVE : (byte)0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue