types

package
v1.0.67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIUpdateServerSettings

type APIUpdateServerSettings struct {
	ConfigSetting        string  `form:"_ConfigSetting" json:"configSetting"`
	UpdateOnStart        string  `form:"inp_updateonstart" json:"updateOnStart"`
	AutoRestart          string  `form:"inp_autorestart" json:"autoRestart"`
	AutoPause            string  `form:"inp_autoPause" json:"autoPause"`
	AutoSaveOnDisconnect string  `form:"inp_autoSaveOnDisconnect" json:"autoSaveOnDisconnect"`
	AutoSaveInterval     int     `form:"inp_autoSaveInterval" json:"autoSaveInterval"`
	SeasonalEvents       string  `form:"inp_seasonalEvents" json:"seasonalEvents"`
	MaxPlayers           int     `form:"inp_maxplayers" json:"maxPlayers"`
	WorkerThreads        int     `form:"inp_workerthreads" json:"workerThreads"`
	Branch               string  `form:"inp_sfbranch" json:"branch"`
	BackupInterval       float32 `form:"inp_backupinterval" json:"backupInterval"`
	BackupKeep           int     `form:"inp_backupkeep" json:"backupKeep"`
	ModReference         string  `form:"inp_mod_ref" json:"modReference"`
	ModConfig            string  `form:"inp_modConfig" json:"modConfig"`
}

type APIUpdateServerSettingsRequest

type APIUpdateServerSettingsRequest struct {
	APIUpdateServerSettings
	ID string `json:"agentId"`
}

type API_AcceptInvite_PostData

type API_AcceptInvite_PostData struct {
	Password string `json:"password"`
}

type API_AccountAgentMod_PostData

type API_AccountAgentMod_PostData struct {
	ModReference string             `json:"modReference"`
	AgentID      primitive.ObjectID `json:"agentId"`
}

type API_AgentConfig_PutData

type API_AgentConfig_PutData struct {
	Version string `json:"version"`
	IP      string `json:"ip"`
}

type API_AgentConfig_ResData

type API_AgentConfig_ResData struct {
	Config       modelsv2.AgentConfig       `json:"config"`
	ServerConfig modelsv2.AgentServerConfig `json:"serverConfig"`
}

type API_AgentStatus_PutData

type API_AgentStatus_PutData struct {
	Online             bool    `json:"online"`
	Installed          bool    `json:"installed"`
	Running            bool    `json:"running"`
	CPU                float64 `json:"cpu"`
	MEM                float32 `json:"mem"`
	InstalledSFVersion int64   `json:"installedSFVersion"`
	LatestSFVersion    int64   `json:"latestSFVersion"`
}

type API_AgentTaskItem_PutData

type API_AgentTaskItem_PutData struct {
	Item modelsv2.AgentTask `json:"item"`
}

type API_CreateAccountUser_PostData

type API_CreateAccountUser_PostData struct {
	Email string `json:"email"`
}

type API_UpdateBuildings_Building_PostData

type API_UpdateBuildings_Building_PostData struct {
	Name        string             `json:"name"`
	Location    models.Vector3F    `json:"location"`
	Class       string             `json:"class"`
	Rotation    float32            `json:"rotation"`
	BoundingBox models.BoundingBox `json:"boundingBox"`
}

type API_UpdateBuildings_PostData

type API_UpdateBuildings_PostData struct {
	Buildings []API_UpdateBuildings_Building_PostData `json:"buildings"`
}

type API_UpdatePlayers_Player_PostData

type API_UpdatePlayers_Player_PostData struct {
	Name     string          `json:"name"`
	Location models.Vector3F `json:"location"`
}

type API_UpdatePlayers_PostData

type API_UpdatePlayers_PostData struct {
	Players []API_UpdatePlayers_Player_PostData `json:"players"`
}

type FicsitAPI_Response_GetMods

type FicsitAPI_Response_GetMods struct {
	GetMods FicsitAPI_Response_GetMods_Mods `json:"getMods"`
}

type FicsitAPI_Response_GetMods_Mods

type FicsitAPI_Response_GetMods_Mods struct {
	Mods []models.ModSchema `json:"mods"`
}

type StorageFileIdentity

type StorageFileIdentity struct {
	UUID          string
	FileName      string
	Extension     string
	LocalFilePath string
	Filesize      int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL