Route Purpose: This Route appends a skin ID to a player in the PlayerSkins table.
PlayerSkins
Input Parameters:
playerID (int): Unique identifier of the player.
playerID
skinID (int): Unique identifier of the skin to be assigned.
skinID
Functionality:
Validates the playerID and skinID.
Checks if the player already owns the skin.
Appends the skinID to the PlayerSkins table for the given playerID.
Ensures database integrity and prevents duplicates.
Example Usage:
AppendPlayerSkin(playerID: 1234, skinID: 7);
Database Table Structure: PlayerSkins
int
Unique player identifier
Unique skin identifier
Last updated 1 month ago