Skip to content

GetCustomData()

ts
GetCustomData(idx: number): string;

Retrieves (by index) a piece of custom data previously stored via the AddCustomData function.

Example

ts
{
  if (Session) {
    var cd = Session.GetCustomData(9);
    Log(cd);
  } else {
    Log('Session object is not available.');
  }
}