public override void OnNotifyPropChanged(NotifyPropChangedCmd cmd) { if (this.npcEvent != null) { this.npcEvent.OnNotifyPropChanged(cmd); } }
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; } } } }
public virtual void OnNotifyPropChanged(NotifyPropChangedCmd cmd) { }