mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04: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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user