Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ident = "GMAD" Version = 3 )
View Source
const ( AddonTypeGamemode AddonType = "gamemode" AddonTypeMap = "map" AddonTypeWeapon = "weapon" AddonTypeVehicle = "vehicle" AddonTypeNPC = "npc" AddonTypeEntity = "entity" AddonTypeTool = "tool" AddonTypeEffects = "effects" AddonTypeModel = "model" AddonTypeServerContent = "servercontent" )
View Source
const ( AddonTagFun = "fun" AddonTagRoleplay = "roleplay" AddonTagScenic = "scenic" AddonTagMovie = "movie" AddonTagRealism = "realism" AddonTagCartoon = "cartoon" AddonTagWater = "water" AddonTagComic = "comic" AddonTagBuild = "build" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addon ¶
type Addon struct { Src Source FileBlockOffset int64 // FormatVersion is the version of the GMA file FormatVersion byte // SteamID is the 64-bit Steam ID of the author SteamID uint64 // Timestamp is the last time the addon has been updated Timestamp uint64 RequiredContent string Name string Description string Type AddonType Tags []AddonTag Author string Version int32 Files []AddonFileEntry }
type AddonFileEntry ¶
Click to show internal directories.
Click to hide internal directories.