tekken

package
v1.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const OPPONENT_STRUCT_CHARACTER_STATIC_POINTER = 0x34D2520 //to get the real static pointer: needs to be added to the module name

character of opponent after having accepted

View Source
const OPPONENT_STRUCT_NAME_STATIC_POINTER = 0x34D2520 //to get the real static pointer: needs to be added to the module name

steam name of opponent after having accepted

View Source
const SCREEN_MODE_BORDERLESS = 1
View Source
const SCREEN_MODE_FULLSCREEN = 0
View Source
const SCREEN_MODE_STATIC_POINTER = 0x347ADF8 //to get the real static pointer: needs to be added to the module name
View Source
const SCREEN_MODE_WINDOWED = 2
View Source
const SECONDS_REMAINING_MESSAGE_STATIC_POINTER = 0x34CB960 //to get the real static pointer: needs to be added to the module name
View Source
const STEAM_API_MODULE_EDITED_NAME = "steam_api64_o.dll"
View Source
const STEAM_API_MODULE_NAME = "steam_api64.dll"
View Source
const STEAM_ID_BETTER_STATIC_POINTER = 0x2FC50 //to get the real static pointer: needs to be added to the module name, example: "steam_api64_o.dll"+2FC50

steam id of the opponent

View Source
const STEAM_ID_USER_STATIC_POINTER = 0x2FF78 //to get the real static pointer: needs to be added to the module name, example: "steam_api64_o.dll"+2FC50

steam id of the user

View Source
const TEKKEN_EXE_NAME = "TekkenGame-Win64-Shipping.exe"
View Source
const TEKKEN_MODULE_NAME = "TekkenGame-Win64-Shipping.exe"
View Source
const TEKKEN_STEAM_APP_ID = "389730"
View Source
const TEKKEN_WINDOW_NAME = "TEKKEN 7 "

Variables

View Source
var ALL_CHARACTERS = [...]string{"Paul", "Law", "King", "Yoshimitsu", "Hwoarang", "Xiaoyu", "Jin", "Bryan", "Heihachi", "Kazuya", "Steve", "Jack-7", "Asuka", "Devil Jin", "Feng", "Lili", "Dragunov", "Leo", "Lars", "Alisa", "Claudio", "Katarina", "Lucky Chloe", "Shaheen", "Josie", "Gigas", "Kazumi", "Devil Kazumi", "Nina", "Master Raven", "Lee", "Bob", "Akuma", "Kuma", "Panda", "Eddy", "Eliza", "Miguel", "Soldier", "Kid Kazuya", "Jack-#", "Young Heihachi", "Dummy A", "Geese", "Noctis", "Anna", "Lei", "Marduk", "Armor King", "Julia", "Negan", "Zafina", "Ganryu", "Leroy Smith", "Fahkumram", "Kunimitsu", "Lidia"}
View Source
var OPPONENT_STRUCT_CHARACTER_POINTER_OFFSETS = [...]int{0, 0x8, 0x10}
View Source
var OPPONENT_STRUCT_NAME_POINTER_OFFSETS = [...]int{0, 0x8, 0x11C}
View Source
var SCREEN_MODE_POINTER_OFFSETS = [...]int{}
View Source
var SECONDS_REMAINING_MESSAGE_POINTER_OFFSETS = [...]int{0x58, 0x330, 0x40, 0x30, 0x158, 0x750}
View Source
var STEAM_ID_BETTER_POINTER_OFFSETS = [...]int{8, 0x10, 0, 0x10, 0x28, 0x88, 0}
View Source
var STEAM_ID_USER_POINTER_OFFSETS = [...]int{}

Functions

This section is empty.

Types

type Api

type Api struct {
	Data    Data
	OldData Data
	// contains filtered or unexported fields
}

func NewApi

func NewApi() *Api

func (Api) GetLanguage

func (r Api) GetLanguage() string

func (Api) OverlayOpenUrl

func (r Api) OverlayOpenUrl(url string)

func (*Api) Run

func (r *Api) Run()

func (*Api) Subscribe

func (r *Api) Subscribe(hook Hook)

func (*Api) Unsubscribe

func (r *Api) Unsubscribe(hook Hook)

func (*Api) UpdateData

func (r *Api) UpdateData() (bool, error)

type Data

type Data struct {
	UserSteamID     steamworks.CSteamID
	OpponentSteamID steamworks.CSteamID
}

type Hook

type Hook interface {
	EventSteamWorksInit()
	EventNewChallenger(data PlayerInfo)
}

type PlayerInfo

type PlayerInfo struct {
	Name        string
	AvatarUrl   string
	SteamID     string
	IP          string
	Location    string
	CountryCode string
	Time        string
}

func GetPlayerInfo

func GetPlayerInfo(steamID steamworks.CSteamID) PlayerInfo

func (PlayerInfo) String

func (r PlayerInfo) String() string

Jump to

Keyboard shortcuts

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