UE3:Session (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
UT3 Object >> Session
Package:
WebAdmin
Implemented interfaces:
ISession

A session implementation

Copyright 2008 Epic Games, Inc. All Rights Reserved

Author: Michiel 'elmuerte' Hendriks

Properties

id

Type: string

Modifiers: protected


objects

Type: array<ObjectKV>

Modifiers: protected


strings

Type: array<StringKV>

Modifiers: protected


Structs

ObjectKV

string key
Object value

StringKV

string key
string value

Instance functions

getId

function string getId ()

Specified by: ISession.getId

Return the session identifier

getObject

function Object getObject (string key)

Specified by: ISession.getObject

Get an object instance from this session.

getString

function string getString (string key, optional string defValue)

Specified by: ISession.getString

Get a string from this session.

putObject

function putObject (string key, Object value)

Specified by: ISession.putObject

Add an object to the session

putString

function putString (string key, string value)

Specified by: ISession.putString

Add a string value to the session.

removeObject

function removeObject (string key)

Specified by: ISession.removeObject

Remove the entry with the given key

removeString

function removeString (string key)

Specified by: ISession.removeString

Remove the entry with the given key

reset

function reset ()

Specified by: ISession.reset

Reset the session's data. The ID will stay the same.