Exemplo n.º 1
0
 public override void OnNotifyPropChanged(NotifyPropChangedCmd cmd)
 {
     if (this.npcEvent != null)
     {
         this.npcEvent.OnNotifyPropChanged(cmd);
     }
 }
Exemplo n.º 2
0
    public virtual void OnNotifyPropChanged(NotifyPropChangedCmd cmd)
    {
        string propName = cmd.propName;

        if (propName != null)
        {
            if (NPCBehavior.< > f__switch$map1A == null)
            {
                Dictionary <string, int> dictionary = new Dictionary <string, int>(1);
                dictionary.Add("AnimFactor", 0);
                NPCBehavior.< > f__switch$map1A = dictionary;
            }
            int num;
            if (NPCBehavior.< > f__switch$map1A.TryGetValue(propName, ref num))
            {
                if (num == 0)
                {
                    this.FrameActionSpeed = cmd.propValue;
                }
            }
        }
    }
Exemplo n.º 3
0
 public virtual void OnNotifyPropChanged(NotifyPropChangedCmd cmd)
 {
 }