MCPcopy Create free account
hub / github.com/OpenDiablo2/HellSpawner / BoolToInt

Function BoolToInt

hscommon/hsutil/datautils.go:19–25  ·  view source on GitHub ↗

BoolToInt converts bool into 32-bit integer if b is true, then returns 1, else 0

(b bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected