コード例 #1
0
 private void ProcessData()
 {
     for (int i = 0; i < _tokenCount; i += 2)
     {
         if (_functionsById.ContainsKey(_tokens[i]))
         {
             NetworkFunction function = _functionsById[_tokens[i]];
             function.ProcessNetworkData(_tokens[i], _tokens[i + 1]);
         }
         else
         {
             ConfigManager.LogManager.LogWarning("UDP interface received data for missing function. (Key=\"" + _tokens[i] + "\")");
         }
     }
 }