fesl

package
v0.0.0-...-0917785 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Unlicense Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MysqlRealEscapeString

func MysqlRealEscapeString(value string) string

MysqlRealEscapeString - you know

Types

type Database

type Database struct {
	MapGetStatsQuery       map[int]*sql.Stmt
	MapGetServerStatsQuery map[int]*sql.Stmt
	MapSetStatsQuery       map[int]*sql.Stmt
	MapSetServerStatsQuery map[int]*sql.Stmt
	// contains filtered or unexported fields
}

func NewDatabase

func NewDatabase(conn *sql.DB) (*Database, error)

type Fesl

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

TXN stands for Taxon, sub-query name of the command Fesl - handles incoming and outgoing FESL data

func New

func New(name, bind string, server bool, conn *sql.DB, lvl *level.Level) *Fesl

New creates and starts a new ClientManager

func (*Fesl) GetPingSites

func (fm *Fesl) GetPingSites(event network.EvProcess)

GetPingSites - used as LoadBalancer/Not working Now(but is requested)

func (*Fesl) GetStats

func (fm *Fesl) GetStats(event network.EvProcess)

GetStats - Get basic stats about a soldier/owner (account holder)

func (*Fesl) GetStatsForOwners

func (fm *Fesl) GetStatsForOwners(event network.EvProcess)

GetStatsForOwners - Gives a bunch of info for the Hero selection screen?

func (*Fesl) Goodbye

func (fm *Fesl) Goodbye(event network.EvProcess)

Goodbye - Handle Client Close

func (*Fesl) NuGetAccount

func (fm *Fesl) NuGetAccount(event network.EvProcess)

NuGetAccount - General account information retrieved, based on parameters sent

func (*Fesl) NuGetPersonas

func (fm *Fesl) NuGetPersonas(event network.EvProcess)

NuGetPersonas . Display all Personas/Heroes

func (*Fesl) NuGetPersonasServer

func (fm *Fesl) NuGetPersonasServer(event network.EvProcess)

NuGetPersonasServer - G_Server Login , retrieve Info Based on +soldierName

func (*Fesl) NuLogin

func (fm *Fesl) NuLogin(event network.EvProcess)

NuLogin - First Login Command

func (*Fesl) NuLoginPersona

func (fm *Fesl) NuLoginPersona(event network.EvProcess)

User Login with selected Hero (persona)

func (*Fesl) NuLoginPersonaServer

func (fm *Fesl) NuLoginPersonaServer(event network.EvProcess)

NuLoginPersonaServer Pre-Server Login (out of order ?)

func (*Fesl) NuLoginServer

func (fm *Fesl) NuLoginServer(event network.EvProcess)

NuLoginServer - NuLogin for gameServer.exe

func (*Fesl) NuLookupUserInfo

func (fm *Fesl) NuLookupUserInfo(event network.EvProcess)

func (*Fesl) NuLookupUserInfoServer

func (fm *Fesl) NuLookupUserInfoServer(event network.EvProcess)

NuLookupUserInfoServer - Server Login 1step

func (*Fesl) Start

func (fm *Fesl) Start(event network.EvProcess)

Start handles pnow.Start

func (*Fesl) Status

func (fm *Fesl) Status(event network.EvProcess)

Status comes after Start. tells info about desired server

func (*Fesl) Telemetry

func (fm *Fesl) Telemetry(event network.EvProcess)

GetTelemetryToken

func (*Fesl) UpdateStats

func (fm *Fesl) UpdateStats(event network.EvProcess)

UpdateStats - updates stats about a soldier

type GetSessionId

type GetSessionId struct {
	TXN string `fesl:"TXN"`
}

type Start

type Start struct {
	ID         int    `fesl:"id.id"`
	TXN        string `fesl:"TXN"`
	Properties string `fesl:"props.{}.[]"`
	Part       string `fesl:"id.partition"`
}

type Status

type Status struct {
	TXN   string `fesl:"TXN"`
	ID    int    `fesl:"id.id"`
	State string `fesl:"sessionState"`

	Props      int                    `fesl:"props.{}.[]"`
	Properties map[string]interface{} `fesl:"props"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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