Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DSSession Interface Reference

Public Member Functions

proto native string Name ()
 Name of the the session.
 
proto native int Status ()
 Status of the hosted instance (EDsSessionState)
 
proto native int PlayerLimit ()
 Player limit on the instance.
 
proto native int PlayerCount ()
 Player count on the instance.
 
proto native void RequestShutdown ()
 Request termination of server.
 
proto native void RequestActive ()
 Request server to enter active state.
 
proto native void RequestFinish ()
 Request finishing of hosted session (game won, draw, canceled)
 
proto native void RequestRestart ()
 Request restart of hosted session (with or without new parameters)
 
proto native float GetUpTime ()
 Get current session uptime in seconds.
 
proto native string RoomID ()
 ID of Room created on server.
 
proto native string ScenarioID ()
 ID of Scenario hosted on server.
 

Member Function Documentation

◆ GetUpTime()

proto native float DSSession.GetUpTime ( )

Get current session uptime in seconds.

◆ Name()

proto native string DSSession.Name ( )

Name of the the session.

◆ PlayerCount()

proto native int DSSession.PlayerCount ( )

Player count on the instance.

◆ PlayerLimit()

proto native int DSSession.PlayerLimit ( )

Player limit on the instance.

◆ RequestActive()

proto native void DSSession.RequestActive ( )

Request server to enter active state.

◆ RequestFinish()

proto native void DSSession.RequestFinish ( )

Request finishing of hosted session (game won, draw, canceled)

◆ RequestRestart()

proto native void DSSession.RequestRestart ( )

Request restart of hosted session (with or without new parameters)

◆ RequestShutdown()

proto native void DSSession.RequestShutdown ( )

Request termination of server.

◆ RoomID()

proto native string DSSession.RoomID ( )

ID of Room created on server.

◆ ScenarioID()

proto native string DSSession.ScenarioID ( )

ID of Scenario hosted on server.

◆ Status()

proto native int DSSession.Status ( )

Status of the hosted instance (EDsSessionState)


The documentation for this interface was generated from the following file: