/// <summary> /// Method to get the character at the specified slot. /// </summary> /// <param name="slot">The index of the character slot.</param> /// <returns>The CharacterInstance or null if character with this slot does not exist.</returns> public Character GetCharacter(int slot) { var nativeCharacter = NativeHandle.GetCharacter(slot); if (nativeCharacter == null) { return(null); } return(new Character(nativeCharacter)); }