#### [Board](https://docs.dev.board.fun/unity/api/index.html "index")

### [Board.Save](https://docs.dev.board.fun/unity/api/Board.Save.html "Board\.Save"). [BoardSaveGamePlayer](https://docs.dev.board.fun/unity/api/BoardSaveGamePlayer.html "Board\.Save\.BoardSaveGamePlayer")

## BoardSaveGamePlayer.aiTypeIndex Property

Gets the index into the registered AI player types for this player.

```
public int aiTypeIndex { get; }
```

#### Property Value

[System.Int32](https://learn.microsoft.com/en-us/dotnet/api/system.int32 "System\.Int32")

### Remarks

Returns -1 if this player is not an AI player. Parsed from the player ID format `ai_<index>_<timestamp>`.
