package roycurtis.signshopexport.json;

import org.bukkit.inventory.ItemStack;

/** Represents a JSON record for Gson serialization */
public class Record
{
    // Location
    public String locWorld;
    public int    locX;
    public int    locY;
    public int    locZ;

    // Owner
    public String ownerName;
    public String ownerUuid;

    // Sign data
    public String[] signText;
    public String   signType;
    public double   signPrice;

    // Inventory data
    public ItemStack[] invItems;
    public boolean     invInStock;
}

@@ -537,11 +537,262 @@
 InStock;
+%0A%0A    @Override%0A    public String toString()%0A    %7B%0A        return String.format(%0A            %22Record: %25s sign at %25d,%25d,%25d @ %25s by %25s (%25s)%22,%0A            signType,%0A            locX, locY, locZ, locWorld,%0A            ownerName, ownerUuid%0A        );%0A    %7D
 %0A%7D%0A

Add toString override for records