Example #1
0
 public static void OptionsProviderGetNumKeys(
     OptionsProviderRef opProvRef,
     out long num)
 {
     ThrowOut(
         SUOptionsProviderGetNumKeys(
             opProvRef.intPtr,
             out num),
         "Could not get num keys.");
 }
 public static void OptionsProviderSetValue(
     OptionsProviderRef providerRef,
     string name,
     TypedValueRef typedValueRef)
 {
     ThrowOut(
         SUOptionsProviderSetValue(
             providerRef.intPtr,
             name,
             typedValueRef.intPtr),
         "Could not set provider value.");
 }
Example #3
0
 public static void OptionsManagerGetOptionsProviderByName(
     OptionsManagerRef managerRef,
     string name,
     OptionsProviderRef providerRef)
 {
     ThrowOut(
         SUOptionsManagerGetOptionsProviderByName(
             managerRef.intPtr,
             name,
             out providerRef.intPtr),
         "Could not get provider.");
 }