mirror of
https://hacklab.nilfm.cc/felt
synced 2024-10-22 14:31:48 +00:00
25 lines
281 B
Go
25 lines
281 B
Go
|
package models
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type TableKey struct {
|
||
|
name: string
|
||
|
passcode: string
|
||
|
}
|
||
|
|
||
|
type DiceRoll struct {
|
||
|
faces: uint8
|
||
|
roll: uint8[]
|
||
|
player: string
|
||
|
note: string
|
||
|
timestamp: time.Time
|
||
|
}
|
||
|
|
||
|
type Token struct {
|
||
|
id: string
|
||
|
spriteUri: string
|
||
|
x: int
|
||
|
y: int
|
||
|
}
|