-
Notifications
You must be signed in to change notification settings - Fork 1
Hitbox Data
Remember, the Live Docs will help you see this in action.
Hitbox data existed in a raw form under /moves calls before and now it has been parsed out and is available on its own.
NOTE: Raw hitbox data still exists under moves for compatibility purposes. Raw hitbox data also exists on the new Hitbox data model so consumers might consider modifying their usage to take advantage of this feature/response model.
This will hopefully alleviate some of the manual parsing of hitbox data on the client side.
- id - The Id of the hitbox information for a move as it exists in the database
- ownerId - The Id of the character who owns this hitbox information
- moveId - The Id of the Move this Hitbox is referencing
- moveName - The name of the Move this Hitbox is referencing
- notes - Most empty for now. Will eventually consist of the special notes KH has added to some hitbox data
- hitbox1-6 - Each of these is designed to store a separate (by comma delimiter) hitbox. This is still being worked in, but hopefully it assists in parsing out some of the raw hitbox data into usable chunks.
- rawValue - The raw value of the hitbox as it exists on the KuroganeHammer site.
To Retrieve Hitbox information, the following calls are available:
api/hitboxes //get all hitbox information
api/hitboxes/{id} //get a specific hitbox entry. This will consist of all hitboxes for a move, but only for that move. Is one full Hitbox model as described above
api/characters/{id}/hitboxes //get all of the hitbox information for a specific character's moves