Esempio n. 1
0
        /**
         * 派发通知
         *
         **/
        public void PostNotify(string Id, NotificationArg Arg)
        {
            Item item = ObjectPool.Instance.GetObjectInstance <Item> ();

            item.id  = Id;
            item.arg = Arg;
            postQueue.Enqueue(item);
        }
Esempio n. 2
0
 public void Reset()
 {
     id      = "";
     arg     = null;
     handler = null;
 }