# SMusicDirectory

## Index

### Functions Index

| Function                                                                |
| ----------------------------------------------------------------------- |
| void [**GetTop100** ](#gettop100)(Closure onLoad)                       |
| void [**GetGenreList** ](#getgenrelist)(Closure onLoad, int parentId=0) |
| void [**SearchByGenre** ](#searchbygenre)(SGenre genre, Closure onLoad) |
| void [**SearchByText** ](#searchbytext)(string search, Closure onLoad)  |

## Functions

### GetTop100

void **GetTop100** (Closure onLoad)

*Function Description*

| Parameter | Type | Description |
| --------- | ---- | ----------- |
|           |      |             |

{% tabs %}
{% tab title="Lua" %}

```lua
example 1
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Lua" %}

```lua
example 2
```

{% endtab %}
{% endtabs %}

### GetGenreList

void **GetGenreList** (Closure onLoad, int parentId=0)

*Function Description*

| Parameter | Type | Description |
| --------- | ---- | ----------- |
|           |      |             |

{% tabs %}
{% tab title="Lua" %}

```lua
example 1
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Lua" %}

```lua
example 2
```

{% endtab %}
{% endtabs %}

### SearchByGenre

void **SearchByGenre** ([SGenre](https://docs.sine.space/scripting/client-scripting-api-reference/types/sgenre) genre, Closure onLoad)

*Function Description*

| Parameter | Type | Description |
| --------- | ---- | ----------- |
|           |      |             |

{% tabs %}
{% tab title="Lua" %}

```lua
example 1
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Lua" %}

```lua
example 2
```

{% endtab %}
{% endtabs %}

### SearchByText

void **SearchByText** (string search, Closure onLoad)

*Function Description*

| Parameter | Type | Description |
| --------- | ---- | ----------- |
|           |      |             |

{% tabs %}
{% tab title="Lua" %}

```lua
example 1
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Lua" %}

```lua
example 2
```

{% endtab %}
{% endtabs %}
