constants

package
v4.0.0-...-9ccc978 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package constants contains constants that are used internally across the demoinfocs library.

Index

Constants

View Source
const (
	EntityHandleSerialNumberBits = 10

	MaxEdictBits          = 11
	EntityHandleIndexMask = (1 << MaxEdictBits) - 1
	EntityHandleBits      = MaxEdictBits + EntityHandleSerialNumberBits
	InvalidEntityHandle   = (1 << EntityHandleBits) - 1

	MaxEdictBitsSource2          = 14
	EntityHandleIndexMaskSource2 = (1 << MaxEdictBitsSource2) - 1
	EntityHandleBitsSource2      = MaxEdictBitsSource2 + EntityHandleSerialNumberBits
	InvalidEntityHandleSource2   = (1 << EntityHandleBitsSource2) - 1
)

Various constants that are used internally.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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