# Method Parameter

## ⚙️ MethodParameter Struct

Represents a method parameter with various supported data types.

> Namespace: `Esper.FeelSpeak.Graph.Data`\
> Type: `struct`

***

### 📦 Fields

| Access   | Field             | Type         | Description                                 |
| -------- | ----------------- | ------------ | ------------------------------------------- |
| `public` | `name`            | `string`     | The name of the parameter.                  |
| `public` | `paramType`       | `ParamType`  | The parameter type.                         |
| `public` | `intValue`        | `int`        | The integer value.                          |
| `public` | `floatValue`      | `float`      | The float value.                            |
| `public` | `boolValue`       | `bool`       | The bool value.                             |
| `public` | `stringValue`     | `string`     | The string value.                           |
| `public` | `vector2Value`    | `Vector2`    | The Vector2 value.                          |
| `public` | `vector3Value`    | `Vector3`    | The Vector3 value.                          |
| `public` | `vector4Value`    | `Vector4`    | The Vector4 value.                          |
| `public` | `colorValue`      | `Color`      | The color value.                            |
| `public` | `vector2IntValue` | `Vector2Int` | The Vector2Int value.                       |
| `public` | `vector3IntValue` | `Vector3Int` | The Vector3Int value.                       |
| `public` | `enumValue`       | `int`        | The enum value, stored as an integer index. |
| `public` | `objectValue`     | `Object`     | The object value.                           |
| `public` | `strictType`      | `string`     | The strict type of the object.              |

***

### 🧰 Methods

| Access    | Method           | Returns  | Description          |
| --------- | ---------------- | -------- | -------------------- |
| `public`  | `GetValue()`     | `object` | Gets the value.      |
| `private` | `GetEnumValue()` | `object` | Gets the enum value. |

***

### 🧩 Nested Enums

**`public enum ParamType`**

Supported parameter types.

| Value        | Description      |
| ------------ | ---------------- |
| `Int`        | Integer type.    |
| `Float`      | Float type.      |
| `Bool`       | Boolean type.    |
| `String`     | String type.     |
| `Vector2`    | Vector2 type.    |
| `Vector3`    | Vector3 type.    |
| `Vector4`    | Vector4 type.    |
| `Color`      | Color type.      |
| `Vector2Int` | Vector2Int type. |
| `Vector3Int` | Vector3Int type. |
| `Enum`       | Enum type.       |
| `Object`     | Object type.     |
