Swed

package
v0.0.0-...-02eb2bf Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matrix3x3

type Matrix3x3 struct {
	M11, M12, M13 float32
	M21, M22, M23 float32
	M31, M32, M33 float32
}

type Matrix4x4

type Matrix4x4 struct {
	M11, M12, M13, M14 float32
	M21, M22, M23, M24 float32
	M31, M32, M33, M34 float32
	M41, M42, M43, M44 float32
}

func (*Matrix4x4) To2DCoords

func (m *Matrix4x4) To2DCoords(Position Vec3) Vec2

type Swed

type Swed struct {
	// contains filtered or unexported fields
}

func New

func New(processName string) Swed

func (*Swed) GetModuleAddress

func (swed *Swed) GetModuleAddress() uintptr

func (*Swed) GetModuleBase

func (swed *Swed) GetModuleBase(Module string) Swed

func (*Swed) ReadByte

func (swed *Swed) ReadByte(Address uintptr, offsets ...uintptr) byte

func (*Swed) ReadDouble

func (swed *Swed) ReadDouble(Address uintptr, offsets ...uintptr) float64

func (*Swed) ReadFloat

func (swed *Swed) ReadFloat(Address uintptr, offsets ...uintptr) float32

func (*Swed) ReadInt

func (swed *Swed) ReadInt(Address uintptr, offsets ...uintptr) int

func (*Swed) ReadInt32

func (swed *Swed) ReadInt32(Address uintptr, offsets ...uintptr) int32

func (*Swed) ReadLong

func (swed *Swed) ReadLong(Address uintptr, offsets ...uintptr) int64

func (*Swed) ReadMatrix3x3

func (swed *Swed) ReadMatrix3x3(Address uintptr, offsets ...uintptr) Matrix3x3

func (*Swed) ReadMatrix4x4

func (swed *Swed) ReadMatrix4x4(Address uintptr, offsets ...uintptr) Matrix4x4

func (*Swed) ReadPointer

func (swed *Swed) ReadPointer(Address uintptr, offsets ...uintptr) uintptr

func (*Swed) ReadString

func (swed *Swed) ReadString(Address uintptr, offsets ...uintptr) string

func (*Swed) ReadUint16

func (swed *Swed) ReadUint16(Address uintptr, offsets ...uintptr) uint16

func (*Swed) ReadUint32

func (swed *Swed) ReadUint32(Address uintptr, offsets ...uintptr) uint32

func (*Swed) ReadVec2

func (swed *Swed) ReadVec2(Address uintptr, offsets ...uintptr) Vec2

func (*Swed) ReadVec3

func (swed *Swed) ReadVec3(Address uintptr, offsets ...uintptr) Vec3

func (*Swed) WriteBytes

func (swed *Swed) WriteBytes(Address uintptr, bytes []byte, offsets ...uintptr)

func (*Swed) WriteDouble

func (swed *Swed) WriteDouble(Address uintptr, newValue float64, offsets ...uintptr)

func (*Swed) WriteFloat

func (swed *Swed) WriteFloat(Address uintptr, newValue float32, offsets ...uintptr)

func (*Swed) WriteInt

func (swed *Swed) WriteInt(Address uintptr, newValue int, offsets ...uintptr)

func (*Swed) WriteInt32

func (swed *Swed) WriteInt32(Address uintptr, newValue int32, offsets ...uintptr)

func (*Swed) WriteLong

func (swed *Swed) WriteLong(Address uintptr, newValue int64, offsets ...uintptr)

func (*Swed) WriteMatrix3x3

func (swed *Swed) WriteMatrix3x3(Address uintptr, newValue Matrix3x3, offsets ...uintptr)

func (*Swed) WriteMatrix4x4

func (swed *Swed) WriteMatrix4x4(Address uintptr, newValue Matrix4x4, offsets ...uintptr)

func (*Swed) WriteString

func (swed *Swed) WriteString(Address uintptr, newValue string, offsets ...uintptr)

func (*Swed) WriteUint16

func (swed *Swed) WriteUint16(Address uintptr, newValue uint16, offsets ...uintptr)

func (*Swed) WriteUint32

func (swed *Swed) WriteUint32(Address uintptr, newValue uint32, offsets ...uintptr)

func (*Swed) WriteUint64

func (swed *Swed) WriteUint64(Address uintptr, newValue uint64, offsets ...uintptr)

func (*Swed) WriteVec2

func (swed *Swed) WriteVec2(Address uintptr, newValue Vec2, offsets ...uintptr)

func (*Swed) WriteVec3

func (swed *Swed) WriteVec3(Address uintptr, newValue Vec3, offsets ...uintptr)

type Vec2

type Vec2 struct {
	X, Y float32
}

type Vec3

type Vec3 struct {
	X, Y, Z float32
}

Jump to

Keyboard shortcuts

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