MMORPG
Call the following methods if your game is a massively multiplayer online role-playing game (MMORPG), such as Lineage 2M where a player assumes a role of a character and explores an open world.
Enter and exit from map
-
Call
PlayStagewhen a character enters or exits from a certain map.Entering a map Method Parameter Type Required Notes player_uuid
string
Required
character_uuids
string
Required
stage_type
Required
stageType.PvEstage_slug
string
Required
Denev Villagestage_category_slug
string
Optional
safe zonestage_level
string
Optional
null
stage_score
int
Optional
null
stage_status
Optional
stageStatus.Startstage_playtime
int
Optional
null
Exiting from the map Method Parameter Type Required Notes player_uuid
string
Required
character_uuids
string
Required
stage_type
Required
stageType.PvEstage_slug
string
Required
Denev Villagestage_category_slug
string
Optional
safe zonestage_level
string
Optional
null
stage_score
int
Optional
null
stage_status
Optional
stageStatus.Winstage_playtime
int
Optional
30 -
Call
UseCurrencyorUseConsumablebesidesPlayStagewhen a currency or an item is paid to enter or exit a certain map.-
If a character exits from a map and enters a new map,
PlayStageneeds to be called twices: first call about the exit of previous map and the second one about the entrance of new map. -
Put
stageStatus.Wininstage_statuswithin thePlayStagemethod for exiting the previous map.
Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
currency_slug
string
Required
dealcurrency_quantity
float
Required
10000currency_total_quantity
float
Optional
999999where_to_entity
Optional
entity.PlayStagewhere_to_category_slug
string
Optional
public zonewhere_to_slug
string
Optional
golden fieldExiting form the previous map Method Parameter Type Required Notes player_uuid
string
Required
character_uuids
string
Required
stage_type
Required
stageType.PvEstage_slug
string
Required
Denev Villagestage_category_slug
string
Optional
safe zonestage_level
string
Optional
null
stage_score
int
Optional
null
stage_status
Optional
stageStatus.Winstage_playtime
int
Optional
30Entering a new map Method Parameter Type Required Notes player_uuid
string
Required
character_uuids
string
Required
stage_type
Required
stageType.PvPstage_slug
string
Required
golden fieldstage_category_slug
string
Optional
public zonestage_level
string
Optional
23stage_score
int
Optional
null
stage_status
Optional
stageStatus.Startstage_playtime
int
Optional
null
-
Get item
Call Get{ Object } when an object such as currency or equipment is earned during play.
-
Call
GetCurrencyif a currency is earned during play.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
currency_slug
string
Required
dealcurrency_quantity
float
Required
100currency_total_quantity
float
Optional
99999from_entity
Optional
entity.PlayStagefrom_category_slug
string
Optional
public zonefrom_slug
string
Optional
golden field -
Call
GetMaterialif a material item is earned during play.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
steelitem_quantity
float
Required
1from_entity
Optional
entity.PlayStagefrom_category_slug
string
Optional
public zonefrom_slug
string
Optional
golden field -
Call
GetEquipmentif an equipment item is earned during play.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
Lizards Bowitem_quantity
float
Required
1from_entity
Optional
entity.PlayStagefrom_category_slug
string
Optional
public zonefrom_slug
string
Optional
golden field -
Call
GetConsumableif a consumable item such as potion is earned during play.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
ancient scroll of poweritem_quantity
float
Required
1from_entity
Optional
entity.PlayStagefrom_category_slug
string
Optional
public zonefrom_slug
string
Optional
golden field
Change character stat
Call ChangeStat if a character’s statistics are changed during play.
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
Notes |
|
character_uuid |
string |
Required |
||
stat_slug |
string |
Required |
|
|
stat_to |
int |
Required |
|
|
stat_from |
int |
Optional |
|
|
stat_category_slug |
string |
Optional |
|
Level up character
Call LevelUpCharacter if a character levels up during play.
| Method | Parameter | Type | Required | Notes |
|---|---|---|---|---|
player_uuid |
string |
Required |
||
character_uuid |
string |
Required |
||
level_to |
int |
Required |
||
|
level_from |
int |
Optional |
Character KIA
-
Call
PlayStageif a character is killed in action (KIA) during play.Put
stageStatus.Losein thestage_statusparameter.Method Parameter Type Required Notes player_uuid
string
Required
character_uuids
string
Required
stage_type
Required
stageType.PvPstage_slug
string
Required
golden fieldstage_category_slug
string
Optional
public zonestage_level
string
Optional
23stage_score
int
Optional
null
stage_status
Optional
stageStatus.Losestage_playtime
int
Optional
null
-
If there exists a penalty (for example, losing items) for KIA, call
Dismiss{ Object }as well.In the following example,
DismissEquipmentis used because an equipment is lost as a penalty for being KIA.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
+6 long sworditem_quantity
string
Required
1
Equip equipment, skill, or pet
Equip pet
Call the following methods below when a player equips and uses 'pet' to support his battle:
-
Call
EquipPetwhen a character is equipped with a pet.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
tiny unicornequip_status
Required
equipStatus.Equipitem_level
int
Optional
7character_level
int
Optional
14 -
Call
PlayStageWithwhen a character enters a map with a pet equipped.Method Parameter Type Required Notes player_uuid
string
Required
character_uuids
string
Required
item_slug
string
Required
tiny unicornstage_slug
string
Required
golden fieldstage_type
Optional
stageType.PvPstage_category_slug
string
Optional
public zone
Equip equipment
Call the following methods when a player equips equipments to his character and conducts a battle with the equipments.
-
Call
EquipEquipmentandPlayStageWithEquipmentas shown in following example if a player add equipments to an empty slot and play with them.-
Call
EquipEquipmentwhen equipments are equipped.Equipped in an empty slot Method
Parameter
Type
Required
Notes
Item A
Item B
player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
+6 long sword+1 thin armorequip_status
Required
equipStatus.Equipitem_level
int
Optional
61character_level
int
Optional
14 -
Call
PlayStageWithEquipmentwhen a character enters a map with the equipments.Method
Parameter
Type
Required
Notes
Item A
Item B
player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
+6 long sword+1 thin armorstage_slug
string
Optional
golden fieldstage_type
Optional
stageType.PvPstage_category_slug
string
Optional
public zone
-
-
Call
EquipEquipmentandPlayStageWithEquipmentas shown in the following example if a character switches between equipments.-
Call
EquipEquipmentwhen the existing equipment is removed from the slot.Existing equipment dismissed Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
+6 long swordequip_status
Required
equipStatus.Unequipitem_level
int
Optional
6character_level
int
Optional
14 -
Call
EquipEquipmentagain when a new equipment is equipped.New equipment equipped Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
+10 long swordequip_status
Required
equipStatus.Equipitem_level
int
Optional
10character_level
int
Optional
14 -
Call
PlayStageWithEquipmentwhen a character enters a map with the new equipment equipped.Playing with new equipment Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
item_slug
string
Required
+10 long swordstage_slug
string
Optional
golden fieldstage_type
Optional
stageType.PvPstage_category_slug
string
Optional
public zone
-
Equip skill
Call EquipSkill and PlayStageWithSkill when a character is equipped with a certain skill to play.
-
Call
EquipSkillwhen a character equips or unequips a new skill.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
skill_slug
string
Required
strengthskill_category_slug
string
Optional
passiveequip_status
Required
equipStatus.Equipskill_level
int
Optional
3character_level
int
Optional
14 -
When a player enters a map with the new skill, call
PlayStageWithSkill.Method Parameter Type Required Notes player_uuid
string
Required
character_uuid
string
Required
skill_slug
string
Required
strengthskill_category_slug
string
Optional
passivestage_slug
string
Required
golden fieldstage_type
Optional
stageType.PvPstage_category_slug
string
Optional
public zone