ServerStateLifetimeManagement::DownloadGameVariantToFile Method

Downloads the game variant to a named file.

Syntax

public:
void DownloadGameVariantToFile(
         const utility::string_t &path
)  

Parameters

path
Type: utility::string_t 

Either a filename relative to current working directory, or an absolute path with the resource pathname prepended.

Return value

None.

Remarks

DownloadGameVariantToFile should be called as part of the game server’s initialization (after calling Startup and before calling WaitForSessionAssignment).

This method is a synchronous call and will block until the download is completed.

Requirements

Header: Declared in ServerStateLifetimeManagement.h.

Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).

See also

ServerStateLifetimeManagement