Skip to content

GetAllCustomData()

ts
// in class: Session
function GetAllCustomData(): string[];

This function retrieves all of the custom data information previously stored via the AddCustomData function. The returned custom data is in the form of an array of strings.

Example

ts
{
  var cd = Session.GetAllCustomData();
  for (let i = 0; i < cd.length; i++) {
    Log(cd[i]);
  }
}