testutil

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArcherEffectContext

func ArcherEffectContext() client.Context

func AssassinEffectContext

func AssassinEffectContext() client.Context

func DrawnWidgetText

func DrawnWidgetText(root widget.Widget) string

func EffectCoverageSnapshot

func EffectCoverageSnapshot() effectCoverage

func EffectRenderTestSprite

func EffectRenderTestSprite() *scene.SpriteView

func EffectTableSize

func EffectTableSize(value float64) float64

func ExpectEffectIDs

func ExpectEffectIDs(t *testing.T, label string, got []int, want ...int)

func FlatWalkableGAT

func FlatWalkableGAT(width, height int) *res.GAT

func GNDWithTopHeights

func GNDWithTopHeights(width, height int, fn func(x, y int) [4]float32) *res.GND

func KnightEffectContext

func KnightEffectContext() client.Context

func Level99AuraTestContext

func Level99AuraTestContext(baseLevel int, lessEffects bool) client.Context

func MapTextureContext

func MapTextureContext(t *testing.T) client.Context

func MerchantEffectContext

func MerchantEffectContext() client.Context

func ModelPointNear

func ModelPointNear(a, b scene.Point3, epsilon float64) bool

func MonkEffectContext

func MonkEffectContext() client.Context

func NewConnection

func NewConnection(t *testing.T, clientDate int) (*network.Client, net.Conn)

func NpcEffectUpdatePacket

func NpcEffectUpdatePacket(id, opt3 uint32) network.Packet

func PathGAT

func PathGAT(width, height int, blocked map[worldstate.WalkStep]bool) *res.GAT

func Projection

func Projection(width, height int, targetX, targetY, targetZ float64) scene.Projection

func ProjectionYaw

func ProjectionYaw(width, height int, targetX, targetY, targetZ, yaw float64) scene.Projection

func ProjectionYawZoom

func ProjectionYawZoom(width, height int, targetX, targetY, targetZ, yaw, zoom float64) scene.Projection

func ReadPackets

func ReadPackets(t *testing.T, conn net.Conn, want []byte)

func RealDataManager

func RealDataManager(t *testing.T) *res.Manager

func RogueSkillContext

func RogueSkillContext() client.Context

func SolidRGBAFrame

func SolidRGBAFrame(width, height int) []byte

func SoulLinkerEffectContext

func SoulLinkerEffectContext() client.Context

func SoulLinkerSkillPacket

func SoulLinkerSkillPacket(skill uint16, result byte) network.Packet

func SpiritSpherePacket

func SpiritSpherePacket(id uint16, actorID uint32, count uint16) network.Packet

func SwordmanContext

func SwordmanContext() client.Context

func ThiefEffectContext

func ThiefEffectContext() client.Context

func WidgetText

func WidgetText(root widget.Widget) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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