Пример #1
0
 /// <description>
 /// called when the state goes from active to deactive.
 /// </description>
 public virtual void OnDeactivate()
 {
     InternalUnsafeMethods.OnDeactivate__Args _args = new InternalUnsafeMethods.OnDeactivate__Args()
     {
     };
     InternalUnsafeMethods.OnDeactivate()(ObjectPtr, _args);
 }
Пример #2
0
 /// <description>
 /// Called when the spell ends naturally.
 /// </description>
 /// <param name="spell">the spell object</param>
 public virtual void OnDeactivate(afxMagicSpell spell)
 {
     InternalUnsafeMethods.OnDeactivate__Args _args = new InternalUnsafeMethods.OnDeactivate__Args()
     {
         spell = spell.ObjectPtr,
     };
     InternalUnsafeMethods.OnDeactivate()(ObjectPtr, _args);
 }