Skip to content
Takeshi HASEGAWA edited this page Aug 9, 2016 · 1 revision

WebSocket API: Spike Events

Making a transaction with Spike in Inkopolis will trigger one of these events.

on_spike_unlock

A slot for gear specified for key is unlocked. sub_abilities indicates the latest slot status.

{
    "event":"on_spike_unlock",

    "key":"blowfish_bell_hat",
    "name":{"ja":"フグベルハット","en":"Blowfish Bell Hat"},
    "brand":"firefin",
    "level":1,

    "sub_abilities":["locked","locked","locked"]
}

on_spike_reroll

All sub abilities of the gear is re-rolled. sub_abilities indicates the latest slot status.

{
    "event":"on_spike_reroll_done",

    "key":"squash_headband",
    "name":{"ja":"スカッシュバンド","en":"Squash Headband"},
    "brand":"zink",
    "level":1,

    "sub_abilities":["swim_speed_up","quick_super_jump","quick_super_jump"]
}

on_spike_purchase

To be implemented