swiftlys2/docs/api/releases/features/ai/
API Reference › SteamAPI

HTML_NewWindow_t

Struct
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public struct HTML_NewWindow_t

a new html window is being created. IMPORTANT NOTE: at this time, the API does not allow you to acknowledge or render the contents of this new window, so the new window is always destroyed immediately. The URL and other parameters of the new window are passed here to give your application the opportunity to call CreateBrowser and set up a new browser in response to the attempted popup, if you wish to do so.

View source

Fields

k_iCallback

public const int k_iCallback = 4521
Field Value

pchURL

the page to load

public string pchURL
Field Value

unBrowserHandle

the handle of the current surface

public HHTMLBrowser unBrowserHandle
Field Value

unNewWindow_BrowserHandle_IGNORE

public HHTMLBrowser unNewWindow_BrowserHandle_IGNORE
Field Value

unTall

the total height of the pBGRA texture

public uint unTall
Field Value

unWide

the total width of the pBGRA texture

public uint unWide
Field Value

unX

the x pos into the page to display the popup

public uint unX
Field Value

unY

the y pos into the page to display the popup

public uint unY
Field Value