Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISteamworks

Hierarchy

  • ISteamworks

Implemented by

Index

Methods

addZoomFactor

  • addZoomFactor(change: number): void
  • Parameters

    • change: number

    Returns void

clearRichPresence

  • clearRichPresence(): void
  • Returns void

createArchive

  • createArchive(id: string, source: string, callback: function): void
  • Parameters

    • id: string
    • source: string
    • callback: function
        • (err?: string): void
        • Parameters

          • Optional err: string

          Returns void

    Returns void

createLobby

  • Parameters

    Returns void

createSaveGameMod

  • createSaveGameMod(name: string, slot: number, callback: function): void
  • Parameters

    • name: string
    • slot: number
    • callback: function
        • (success: boolean): void
        • Parameters

          • success: boolean

          Returns void

    Returns void

debugLog

  • debugLog(...args: any[]): void
  • Parameters

    • Rest ...args: any[]

    Returns void

deleteSaveGameMod

  • deleteSaveGameMod(name: string): void
  • Parameters

    • name: string

    Returns void

fillOutWorkshopMod

  • Parameters

    Returns void

getAbsolutePath

  • getAbsolutePath(p: string): any
  • Parameters

    • p: string

    Returns any

getBetaName

  • getBetaName(): string
  • Returns string

getModPath

  • getModPath(name: string, modType: ModType, file?: string, checkIfExists?: boolean): IModPath | undefined
  • Parameters

    • name: string
    • modType: ModType
    • Optional file: string
    • Optional checkIfExists: boolean

    Returns IModPath | undefined

getPublishedItems

  • getPublishedItems(callback: function): void
  • Parameters

    • callback: function
        • Parameters

          Returns void

    Returns void

getPublishedMod

  • getPublishedMod(publishFileId: string): IWorkshopItem | undefined
  • Parameters

    • publishFileId: string

    Returns IWorkshopItem | undefined

getPublishedMods

  • Returns IWorkshopItem[]

getScreenName

  • getScreenName(): string | undefined
  • Returns string | undefined

getSteamId

  • Returns ISteamId

hasServerToJoin

  • hasServerToJoin(): boolean
  • Returns boolean

importFromSaveGameMod

  • importFromSaveGameMod(modIndex: number, json: string, callback: function): void
  • Parameters

    • modIndex: number
    • json: string
    • callback: function
        • (success: boolean): void
        • Parameters

          • success: boolean

          Returns void

    Returns void

initialize

  • initialize(): void
  • Returns void

isElectron

  • isElectron(): boolean
  • Returns boolean

isGreenworksEnabled

  • isGreenworksEnabled(): boolean
  • Returns boolean

isLinux

  • isLinux(): boolean
  • Returns boolean

isMac

  • isMac(): boolean
  • Returns boolean

isOverlayWorking

  • isOverlayWorking(): boolean
  • Returns boolean

joinLobby

  • joinLobby(lobbyId: string): void
  • Parameters

    • lobbyId: string

    Returns void

leaveLobby

  • leaveLobby(): void
  • Returns void

multiplayerLog

  • multiplayerLog(...args: any[]): void
  • Parameters

    • Rest ...args: any[]

    Returns void

multiplayerLogError

  • multiplayerLogError(...args: any[]): void
  • Parameters

    • Rest ...args: any[]

    Returns void

multiplayerLogSkipConsole

  • multiplayerLogSkipConsole(...args: any[]): void
  • Parameters

    • Rest ...args: any[]

    Returns void

onReady

  • onReady(): void
  • Returns void

onUnload

  • onUnload(): void
  • Returns void

onUpdateZoomFactor

  • onUpdateZoomFactor(): void
  • Returns void

openLogsFolder

  • openLogsFolder(): void
  • Returns void

openModsFolder

  • openModsFolder(): void
  • Returns void

openUrl

  • openUrl(url: string): void
  • Parameters

    • url: string

    Returns void

openWorkshop

  • openWorkshop(publishId?: string): void
  • Parameters

    • Optional publishId: string

    Returns void

publishMod

  • publishMod(modIndex: number, callback: function): void
  • Parameters

    • modIndex: number
    • callback: function
        • (err: string | undefined, publishedFileId?: string): void
        • Parameters

          • err: string | undefined
          • Optional publishedFileId: string

          Returns void

    Returns void

recordProblem

  • recordProblem(message: string): void
  • Parameters

    • message: string

    Returns void

sendMessage

  • sendMessage(name: string, data: string): void
  • Parameters

    • name: string
    • data: string

    Returns void

setDefaultZoomFactor

  • setDefaultZoomFactor(): void
  • Returns void

setOverlayWorks

  • setOverlayWorks(ipg: boolean): void
  • Parameters

    • ipg: boolean

    Returns void

setRichPresence

  • setRichPresence(key: string, value: string): boolean
  • Parameters

    • key: string
    • value: string

    Returns boolean

setupMods

  • setupMods(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns void

setupMultiplayerLog

  • setupMultiplayerLog(): void
  • Returns void

setupReporting

  • setupReporting(): void
  • Returns void

toggleDeveloperTools

  • toggleDeveloperTools(): void
  • Returns void

unsubscribe

  • unsubscribe(publishId: string, callback: function): void
  • Parameters

    • publishId: string
    • callback: function
        • (err?: string): void
        • Parameters

          • Optional err: string

          Returns void

    Returns void

updateZoomFactor

  • updateZoomFactor(): void
  • Returns void

Generated using TypeDoc