コード例 #1
0
 /// <summary>
 /// Sets an audio chat channel
 /// </summary>
 /// <param name="channel">Channel number</param>
 /// <returns>Queued request</returns>
 public static Request <Response> SetAudioChatChannel(AudioChatChannel channel)
 {
     try
     {
         if (Initialized)
         {
             return(new Request <Response>(API.SetAudioChatChannel(channel)));
         }
         else
         {
             throw new Exception(Errors.INTEGRATION_NOT_INITIALIZED);
         }
     }
     catch (Exception ex)
     {
         return(Request <Response> .ConstructInvalid(ex.Message));
     }
 }
コード例 #2
0
 internal static extern ulong SetAudioChatChannel(AudioChatChannel channel);