Пример #1
0
 /// <summary>
 /// Start a matchmaking request to get the provided player's assigned connection information
 /// </summary>
 internal void StartGetAssignment(Player player, GetAssignmentSuccess successCallback, GetAssignmentError errorCallback)
 {
     //m_GetAssignmentOperation = m_Client.GetAssignmentAsync(id);
     m_GetAssignmentSuccess = successCallback;
     m_GetAssignmentError   = errorCallback;
     openMatchClient.GetUpdates(player);
 }
Пример #2
0
 /// <summary>
 /// Start a matchmaking request to get the provided player's assigned connection information
 /// </summary>
 internal void StartGetAssignment(string id, GetAssignmentSuccess successCallback, GetAssignmentError errorCallback)
 {
     m_GetAssignmentOperation = m_Client.GetAssignmentAsync(id);
     m_GetAssignmentSuccess   = successCallback;
     m_GetAssignmentError     = errorCallback;
 }