Class RollHistoryEntry
java.lang.Object
de.kaiserpfalzedv.rpg.core.dice.history.RollHistoryEntry
- All Implemented Interfaces:
Serializable
RollHistoryEntry -- A stored roll result for getting a list of recent rolls.
The rolls are stored seperately for users in sessions.
For example a session could be represented by a special Discord channel.
- Since:
- 1.2.0 2021-02-05
- Author:
- klenkes74 <rlichti@kaiserpfalz-edv.de>
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRollHistoryEntry(de.kaiserpfalzedv.commons.api.resources.Pointer game, de.kaiserpfalzedv.commons.api.user.User user, String rollId, OffsetDateTime timestamp, RollTotal result) -
Method Summary
-
Constructor Details
-
RollHistoryEntry
public RollHistoryEntry(de.kaiserpfalzedv.commons.api.resources.Pointer game, de.kaiserpfalzedv.commons.api.user.User user, String rollId, OffsetDateTime timestamp, RollTotal result) -
RollHistoryEntry
public RollHistoryEntry()
-
-
Method Details
-
builder
-
toBuilder
-
getGame
public de.kaiserpfalzedv.commons.api.resources.Pointer getGame() -
getUser
public de.kaiserpfalzedv.commons.api.user.User getUser() -
getRollId
-
getTimestamp
-
getResult
-
toString
-
equals
-
hashCode
public int hashCode()
-