TPStashEvent.ChangeCharacterArchetype
public int ChangeCharacterArchetype(
string player_uuid,
string character_uuid,
string characterarchetype_to_slug,
[string characterarchetype_from_slug = null]
);
Description
ChangeCharacterArchetype collects the events that occur when the character changes job and the character archetype is changed. Even though the archetype changes, the character unique identifier character_uuid
remains the same.
It returns 1 for success and -1 for failure. If -1 is returned, you can see the following message in the Unity editor console in TentuPlay debug mode:
|
Parameters
Name | Description | Required | ||
---|---|---|---|---|
player_uuid |
Player’s unique ID (not a character’s ID) such as Steam user ID and Google Play user ID |
Required |
||
character_uuid |
Player’s character’s unique lD
|
Required |
||
characterarchetype_to_slug |
Character’s archetype after job change |
Required |
||
characterarchetype_from_slug |
Character’s archetype before job change |
Optional |