steam

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2016 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	State_Offline        = steamlang.EPersonaState_Offline
	State_Online         = steamlang.EPersonaState_Online
	State_Busy           = steamlang.EPersonaState_Busy
	State_Away           = steamlang.EPersonaState_Away
	State_Snooze         = steamlang.EPersonaState_Snooze
	State_LookingToTrade = steamlang.EPersonaState_LookingToTrade
	State_LookingToPlay  = steamlang.EPersonaState_LookingToPlay
	State_Max            = steamlang.EPersonaState_Max

	ActionConnected       = "steam_connected"
	ActionDisconnected    = "steam_disconnected"
	ActionFatalError      = "steam_fatal_error"
	ActionMainMethodEnded = "action_steam_main_method_ended"

	LogInfo  = "\t[STEAM INFO]\t"
	LogError = "\t[STEAM ERROR]\t"
	LogDebug = "\t[STEAM DEBUG]\t"
)

Variables

View Source
var (
	Username = ""
	Password = ""
	AuthCode = ""

	ChanPresence      = make(chan string)
	ChanPresenceSteam = make(chan steamlang.EPersonaState)
	ChanMessage       = make(chan string)
	ChanAction        = make(chan string)
)

Functions

func Connect

func Connect()

func Disconnect

func Disconnect()

func IsConnected

func IsConnected() bool

func Run

func Run()

func SendMessage

func SendMessage(steamId, message string)

func SendPresence

func SendPresence(status steamlang.EPersonaState)

Types

This section is empty.

Jump to

Keyboard shortcuts

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