Skip to main content
Version: 5.11.8

GetCharacterList

public BackendReturnObject GetCharacterList();
public BackendReturnObject GetCharacterList(string tableName);

Parameters

ValueTypeDescription
tableNamestringGameData inserted by the owned characters

Description

Loads the list of the characters you own.
Upon entering the parameter tableName, the most recent data row the character registered to tableName will be loaded.
If a table does not exist or the character has not created data in the table, then the returned JSON will not include the key value.
The most recently created character will be located at the 0th place of the list.

Example

Synchronous

var bro = Backend.MultiCharacter.Character.GetCharacterList();

// Load with the table
var bro = Backend.MultiCharacter.Character.GetCharacterList("USER_PROFILE");

Asynchronous

Backend.MultiCharacter.Character.GetCharacterList(callback => {

});

Backend.MultiCharacter.Character.GetCharacterList("USER_PROFILE", callback => {

});

SendQueue

SendQueue.Enqueue(Backend.MultiCharacter.Character.GetCharacterList, callback => {

});

SendQueue.Enqueue(Backend.MultiCharacter.Character.GetCharacterList, "USER_PROFILE", callback => {

});

ReturnCase

Success cases

When loading succeeds
statusCode : 200

returnValue : refer to GetReturnValuetoJSON()

When characters do not exist
statusCode : 200

returnValue : {"characters" : [ ] }

GetReturnValuetoJSON()

{
"characters": [
{
"uuid": "ddf81620-13d1-11ee-9d9c-cf38f7e044c5", // Member number
"nickname": "Character no.1", // Nickname
"inDate": "2023-06-26T05:45:58.818Z" // User inDate
},
{
"uuid": "de07f4a0-13d1-11ee-9d9c-cf38f7e044c5", // Member number
"nickname": "Character no.2", // Nickname
"inDate": "2023-06-26T03:30:58.922Z", // inDate
"USER_PROFILE": { // Name of the table that was called simultaneously(tableName)
"client_date": "2023-06-26T04:10:50.000Z", // Creation date that is automatically created upon insertion
"dicItem": { // The data in dictionary format in the data
"str3": "string3",
"str4": "string4",
"str1": "string1",
"str2": "string2"
},
"listItem": [ // The data in list format in the data
1,
2,
3,
4,
5,
6,
7,
8,
9
],
"strItem": "string", // The string data inside the data
"int": 10 // The int data inside the data
}
},
{
"uuid": "ddea0c60-13d1-11ee-9d9c-cf38f7e044c5",
"nickname": "Character no.3",
"inDate": "2023-06-25T10:30:58.725Z"
}
]
}