nmc

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT, BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

A list of NMCs which can only be sent by a server, never by a client.

Functions

This section is empty.

Types

type ID

type ID int32 // network message code
const (
	N_CONNECT ID = iota // = CONNECT
	ServerInfo
	Welcome
	InitializeClient
	Position
	ChatMessage
	Sound
	Leave // = CDIS
	Shoot
	Explode
	Suicide // 10
	Died
	Damage
	HitPush
	ShotEffects
	ExplodeEffects
	TrySpawn
	SpawnState
	ConfirmSpawn
	ForceDeath
	ChangeWeapon // 20
	Taunt
	MapChange
	VoteMap
	TeamInfo
	PickupSpawn
	PickupTry
	PickupAck // = ITEMACC
	Teleport
	JumpPad
	Ping // 30
	Pong
	ClientPing
	TimeLeft // = TIMEUP
	ForceIntermission
	ServerMessage
	PickupList
	PlayerStateList // = RESUME
	EDITMODE
	EDITENT
	EDITF // 40
	EDITT
	EDITM
	FLIP
	COPY
	PASTE
	ROTATE
	REPLACE
	DELCUBE
	REMIP
	EDITVSLOT // 50
	UNDO
	REDO
	NEWMAP
	GETMAP
	SENDMAP
	CLIPBOARD
	EDITVAR
	MasterMode
	Kick
	ClearBans // 60
	CurrentMaster
	Spectator
	SetMaster
	SetTeam
	Bases
	BaseInfo
	BaseScore
	REPAMMO
	BASEREGEN
	ANNOUNCE // 70
	ListDemos
	SendDemoList
	GetDemo
	SendDemo
	DemoPlayback
	RecordDemo
	StopDemo
	ClearDemos
	TouchFlag
	ReturnFlag // 80
	ResetFlag
	InvisibleFlag
	TryDropFlag
	DropFlag
	ScoreFlag
	InitFlags
	TeamChatMessage
	Client
	AuthTry
	AuthKick // 90
	AuthChallenge
	AuthAnswer
	RequestAuth
	PauseGame
	GAMESPEED
	ADDBOT
	DELBOT
	INITAI
	FROMAI
	BOTLIMIT // 100
	BOTBALANCE
	MapCRC
	CHECKMAPS
	ChangeName  // = SWITCHNAME
	ChangeModel // = SWITCHMODEL
	ChangeTeam  // = SWITCHTEAM
	INITTOKENS
	TAKETOKEN
	EXPIRETOKENS
	DROPTOKENS // 110
	DEPOSITTOKENS
	STEALTOKENS
	ServerCommand
	DEMOPACKET
)
const None ID = -1

Jump to

Keyboard shortcuts

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