private bool GetNextChange(out AODEchangeitem item)
 {
     return ChangesQueue.Dequeue(out item);
 }
 /// <summary>
 ///   Called to queue a change to a prim
 ///   to use in place of old taint mechanism so changes do have a time sequence
 /// </summary>
 public void AddChange(AuroraODECharacter character, changes what, Object arg)
 {
     AODEchangeitem item = new AODEchangeitem {character = character, what = what, arg = arg};
     ChangesQueue.Enqueue(item);
 }
Example #3
0
        /// <summary>
        /// Called to queue a change to a prim
        /// to use in place of old taint mechanism so changes do have a time sequence
        /// </summary>
        public void AddChange(AuroraODEPrim prim,changes what,Object arg)
            {
            AODEchangeitem item = new AODEchangeitem();
            item.prim = prim;
            item.what = what;
            item.arg = arg;
//            lock (ChangesQueue)
                {
                ChangesQueue.Enqueue(item);
                }
            }
 /// <summary>
 ///   Called to queue a change to a prim
 ///   to use in place of old taint mechanism so changes do have a time sequence
 /// </summary>
 public void AddChange(AuroraODEPrim prim, changes what, Object arg)
 {
     AODEchangeitem item = new AODEchangeitem {prim = prim, what = what, arg = arg};
     ChangesQueue.Enqueue(item);
 }
 /// <summary>
 /// Called to queue a change to a prim
 /// to use in place of old taint mechanism so changes do have a time sequence
 /// </summary>
 public void AddChange(AuroraODECharacter character, changes what, Object arg)
 {
     AODEchangeitem item = new AODEchangeitem();
     item.character = character;
     item.what = what;
     item.arg = arg;
     ChangesQueue.Enqueue(item);
 }