Exemplo n.º 1
0
 void TextureManager_OnTextureLoaded(string texname, string extension, VObject node, UUID AssetID)
 {
     EventQueueParam param = new EventQueueParam(EventQueueType.TextureDownloaded, AssetID.ToString());
     bool found = false;
     foreach (SetTextureParam stp in requestTextureList)
     {
         if (stp.TextureUUID == AssetID.ToString())
         {
             found = true;
             break;
         }
     }
     if (!found)
         return;
     lock (eventQueue)
         eventQueue.Enqueue(param);
 }
Exemplo n.º 2
0
 void ProtocolManager_OnTextureFromWebLoaded(string filenameWithoutExtension)
 {
     EventQueueParam param = new EventQueueParam(EventQueueType.TextureDownloaded, filenameWithoutExtension);
     lock (eventQueue)
         eventQueue.Enqueue(param);
 }