proxy.golang.org : github.com/noxworld-dev/noxscript/ns/v4 : v4.19.0
Package ns implements NoxScript 4 used in OpenNox maps. NS4 is based on NoxScript 3 but provides a more Go-friendly object-oriented API. These changes include: - Most functions became methods on the corresponding object types. - Functions have a more generic signature, using interfaces where appropriate. - Similar methods were renamed, e.g. ObjectOn and WaypointOn is now called Enable for both types. - Type safety was improved. Package defines more names types for enums. - All enum constants were moved to their own sub-packages. Package is compatible with NS3: methods like AsObj convert NS3 objects into NS4 objects.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/noxworld-dev/noxscript/ns/[email protected]
Published:
Indexed:
- github.com/google/go-cmp v0.6.0
- github.com/noxworld-dev/opennox-lib v0.0.0-20240106132033-e8abe68bd8d5
- github.com/shoenig/test v1.7.0
- golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa