Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Connection and Authentication TypeWelcome = "welcome" TypeRegistered = "registered" TypeLoggedIn = "logged_in" // Action responses TypeOK = "ok" TypeError = "error" TypeActionError = "action_error" TypeDocked = "docked" TypeUndocked = "undocked" TypeStateUpdate = "state_update" TypeTick = "tick" TypeListings = "listings" // Game events TypeChatMessage = "chat_message" TypeCombatUpdate = "combat_update" TypePlayerDied = "player_died" TypeMining = "mining" TypeMiningYield = "mining_yield" TypeScanResult = "scan_result" TypeScanDetected = "scan_detected" TypeTradeOfferReceived = "trade_offer_received" // Travel and location events TypePOIArrival = "poi_arrival" TypePOIDeparture = "poi_departure" // Combat and ship events TypePilotlessShip = "pilotless_ship" TypeReconnected = "reconnected" // Police system events TypePoliceWarning = "police_warning" TypePoliceSpawn = "police_spawn" TypePoliceCombat = "police_combat" TypePoliceResponse = "police_response" // Pirate system events TypePirateWarning = "pirate_warning" TypePirateCombat = "pirate_combat" TypePirateDestroyed = "pirate_destroyed" TypePirateSpawn = "pirate_spawn" // Drone system events TypeDroneUpdate = "drone_update" TypeDroneDestroyed = "drone_destroyed" // Base building and raiding events TypeBaseRaidUpdate = "base_raid_update" TypeBaseDestroyed = "base_destroyed" // Skill progression events TypeSkillLevelUp = "skill_level_up" // Gameplay tips and notifications TypeGameplayTip = "gameplay_tip" )
Message types sent to/from the Spacemolt server
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.