MV Common Plugin Struct

Introduction
This thread have for unique purpose to share "common" reusable struct for MV new Plugin Manager.
The idea behind is for the struct that can be used in multiple context. (e.g music, filename etc)

Spoiler: Audio
Code:
/// Will reproduce the Audio file structure making it easy to fetch for use with MV Audio system.

/*~struct~IAudioStruct:
 * @param filename
 * @type file
 * @dir audio/
 *
 * @param volume
 * @type number
 * @default 90
 * @min 0
 * @max 100
 *
 * @param pitch
 * @type number
 * @default 100
 * @min 10
 * @max 150
 *
 * @param pan
 * @type number
 * @decimals 2
 * @default 0.5
 * @min 0
 * @max 1
 */

Spoiler: Image
Code:
/// Will produce an structure for good control of basic Sprite manipulations.

/*~struct~IFileImg:
 * @param filename
 * @desc The image filename.
 * @type file
 * @dir img/
 *
 * @param x
 * @desc The image X-axis.
 * @type number
 * @default 0
 *
 * @param y
 * @desc The image Y-axis.
 * @type number
 * @default 0
 *
 * @param anchorX
 * @text anchor X
 * @desc The X-axis anchor.
 * @type number
 * @decimals 2
 * @default 0.5
 * @min 0
 * @max 1
 *
 * @param anchorY
 * @text anchor Y
 * @desc The Y-axis anchor.
 * @type number
 * @decimals 2
 * @default 0.5
 * @min 0
 * @max 1
 *
 * @param hue
 * @desc The image hue.
 * @type number
 * @default 0
 *

For that it's all I have think you are free to share more idea for structure.
You should use
Code:
@type number
@decimals 2
instead of
Code:
@type decimals 2

By the way, don't forget the colon after the struct name:

/*~struct~IFileImg:
You should use
Code:
@type number
@decimals 2
instead of
Code:
@type decimals 2

By the way, don't forget the colon after the struct name:

/*~struct~IFileImg:
here u go fixed!

Original thread: https://forums.rpgmakerweb.com/threads/mv-common-plugin-struct.79811/