Documentation ¶
Index ¶
Constants ¶
View Source
const ( REGISTRATION_RESULT = 1 REALTIME_UPDATE = 2 REALTIME_CAR_UPDATE = 3 )
Variables ¶
This section is empty.
Functions ¶
func Disconnect ¶
func RequestConnection ¶
Types ¶
type CarUpdate ¶
type CarUpdate struct { CarIndex uint16 DriverIndex uint16 DriverCount uint8 Gear int8 WorldPosX float32 WorldPosY float32 Yaw float32 CarLocation uint8 Kmh uint16 }
func HandleCarUpdate ¶
type RegistrationResult ¶
type RegistrationResult struct { ConnectionID int32 Success bool IsReadOnly bool ErrMessage string }
func HandleRegistrationResult ¶
func HandleRegistrationResult(b []byte) RegistrationResult
Click to show internal directories.
Click to hide internal directories.