Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mission ¶
type Mission struct { gorm.Model MissionName string `json:"missionName"` BriefingName string `json:"briefingName"` MissionNameSource string `json:"missionNameSource"` OnLoadName string `json:"onLoadName"` Author string `json:"author"` ServerName string `json:"serverName"` ServerProfile string `json:"serverProfile"` MissionStart time.Time `json:"missionStart" gorm:"index"` MissionHash string `json:"missionHash" gorm:"index"` WorldName string `json:"worldName" gorm:"-"` WorldID uint World World `gorm:"foreignkey:WorldID"` Attendees []Session }
func (*Mission) UnmarshalJSON ¶
type Session ¶
type Session struct { ID uint `json:"id" gorm:"primaryKey"` PlayerUID string `json:"playerUID" gorm:"index;primaryKey"` MissionHash string `json:"missionHash"` PlayerId string `json:"playerId"` JoinTimeUTC sql.NullTime `json:"joinTimeUTC" gorm:"index"` DisconnectTimeUTC sql.NullTime `json:"disconnectTimeUTC" gorm:"index"` ProfileName string `json:"profileName"` SteamName string `json:"steamName"` IsJIP bool `json:"isJIP" gorm:"column:is_jip"` RoleDescription string `json:"roleDescription"` MissionID uint Mission Mission `gorm:"foreignkey:MissionID"` }
func (*Session) UnmarshalJSON ¶
type World ¶
type World struct { gorm.Model Author string `json:"author"` WorkshopID string `json:"workshopID"` DisplayName string `json:"displayName"` WorldName string `json:"worldName"` WorldNameOriginal string `json:"worldNameOriginal"` WorldSize float32 `json:"worldSize"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` Missions []Mission }
Click to show internal directories.
Click to hide internal directories.