Mineplex2018-withcommit/Plugins/Mineplex.EnjinTranslator/src/mineplex/enjinTranslator/EnjinPurchase.java
Jonathan Williams 13ba32f2f4 Added command queueing for failed commands in EnjinTranslator.
Added verification of coin/gem application in Web api.

Added code to support polling last 100 purchases with EnjinTranslator

Added UUId lookup to CoreClientManager and fixed Async to Async calls with DatabaseRunnable.
2014-11-17 14:06:38 -08:00

28 lines
645 B
Java

package mineplex.enjinTranslator;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
public class EnjinPurchase
{
private static SimpleDateFormat _dateFormat = new SimpleDateFormat();
public EnjinUser user;
public long purchase_date;
public String currency;
public String character;
public List<EnjinItem> items;
public void logInfoToConsole()
{
user.logInfoToConsole();
System.out.println(" MC Character : " + character + ", purchase_date : " + _dateFormat.format(new Date(purchase_date)) + ", currency : " + currency);
for (EnjinItem item : items)
{
item.logInfoToConsole();
}
}
}