Package emu.grasscutter.game.gacha
Class GachaRecord
java.lang.Object
emu.grasscutter.game.gacha.GachaRecord
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintorg.bson.types.ObjectIdgetId()intintvoidsetGachaType(int type) voidsetId(org.bson.types.ObjectId id) voidsetItemID(int itemID) voidsetOwnerId(int ownerId) voidsetTransactionDate(Date transactionDate) toString()
-
Constructor Details
-
GachaRecord
public GachaRecord() -
GachaRecord
public GachaRecord(int itemId, int ownerId, int gachaType)
-
-
Method Details
-
getOwnerId
public int getOwnerId() -
setOwnerId
public void setOwnerId(int ownerId) -
getGachaType
public int getGachaType() -
setGachaType
public void setGachaType(int type) -
getTransactionDate
-
setTransactionDate
-
getItemID
public int getItemID() -
setItemID
public void setItemID(int itemID) -
getId
public org.bson.types.ObjectId getId() -
setId
public void setId(org.bson.types.ObjectId id) -
toString
-
toJsonString
-