Documentation ¶
Index ¶
- Constants
- type Packet
- func (p *Packet) GetByte() (byte, bool)
- func (p *Packet) GetInt() (int32, bool)
- func (p *Packet) GetString() (s string, ok bool)
- func (p *Packet) GetUint() (v uint32, ok bool)
- func (p *Packet) GetVector() (*geom.Vector, bool)
- func (p *Packet) PutInt(v int32)
- func (p *Packet) PutString(s string)
- func (p *Packet) PutUint(v uint32)
Constants ¶
View Source
const Version = 260
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet []byte
Packet represents a Sauerbraten UDP packet.
Click to show internal directories.
Click to hide internal directories.