Skip to content

GetCustomData()

ts
// in class: Session
function GetCustomData(idx: number): string;

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

Example

ts
{
  var cd = Session.GetCustomData(9);
  Log(cd);
}