prefab

package
v0.7.21 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	Unk00               uint64
	PrefabHash          stingray.Hash
	UnitListOffset      uint32
	UnkListOffset0      uint32
	PrefabListOffset    uint32
	UnkListOffset2      uint32
	UnkListOffset3      uint32
	HierarchyListOffset uint32
	UnkListOffset4      uint32
}

type NestedPrefab added in v0.7.16

type NestedPrefab struct {
	UnkInt  uint32
	UnkHash stingray.Hash
	Path    stingray.Hash
	stingray.Transform
	UnkFloats mgl32.Vec3
}

type Prefab

type Prefab struct {
	NameHash      stingray.Hash
	Units         []Unit
	NestedPrefabs []NestedPrefab
}

func Load

func Load(r io.ReadSeeker) (*Prefab, error)

type Unit added in v0.7.16

type Unit struct {
	Unk00 uint64
	Path  stingray.Hash
	Unk01 uint64
	Unk02 uint64
	stingray.Transform
	UnkFloats mgl32.Vec4
	Index     uint32
	UnkData   [20]uint8
}

func (*Unit) Unit added in v0.7.16

func (o *Unit) Unit() stingray.Hash

Jump to

Keyboard shortcuts

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