3827 {
3828 ListOptionsAccess language_option;
3829 GameOptions options = new GameOptions();
3831 int idx = -1;
3832 if (language_option)
3833 {
3834 idx = language_option.GetIndex();
3835 }
3836
3837 return idx;
3838 }
proto native OptionsAccess GetOptionByType(int accessType)
Get option by AccessType.
OptionAccessType
C++ OptionAccessType.