Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GetRandomNames

Description

Sent in two situations during the intro sequence:

  • When the player requests a random Zing name;
  • When building the family name picker;

Returns a list of randomly selected names of the requested type.

Request

FieldTypeDescription
Amountint32Number of names to return
NamePartTypestring"second_name" for Zing names, "Family_1", "Family_2", "Family_3" for family name parts

Response

FieldTypeDescription
Names[]stringList of randomly selected names