示例#1
0
    void initializeEventCallbacks()
    {
        SpellSelectedEvent.RegisterListener(spellSelected);
        SpellUnSelectedEvent.RegisterListener(spellUnSelected);

        CastingLocationChangedEvent.RegisterListener(castingLocationChanged);
        StoppedCastingEvent.RegisterListener(stoppedCasting);
    }
示例#2
0
 void initializeEventCallbacks()
 {
     StartedCastingEvent.RegisterListener(castingStarted);
     StoppedCastingEvent.RegisterListener(castingStopped);
     SpellSelectedEvent.RegisterListener(SpellSelected);
     SpellCastEvent.RegisterListener(SpellCast);
     SpellUnSelectedEvent.RegisterListener(SpellUnselected);
     CastingProjectionDestroyedEvent.RegisterListener(CastingProjectionDestroyed);
     CastingProjectionCreatedEvent.RegisterListener(CastingProjectionCreated);
     CastingLocationChangedEvent.RegisterListener(CastingLocationChanged);
 }