bf2

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

Methods for working specifically with Battlefield 2 configuration files (.con)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultUserProfileCon

func GetDefaultUserProfileCon(h game.Handler) (*config.Config, error)

Read and parse the Battlefield 2 Profile.con file for the current default profile/user

func GetDefaultUserProfileNumber

func GetDefaultUserProfileNumber(h game.Handler) (string, error)

Get the default user profile number by reading and parsing the Battlefield 2 Global.con file

func GetEncryptedProfileConLogin

func GetEncryptedProfileConLogin(profileCon *config.Config) (string, string, error)

Extract profile name and encrypted password from a parsed Battlefield 2 Profile.con file

Types

This section is empty.

Jump to

Keyboard shortcuts

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