Skip to content

Commit

Permalink
disabled unwanted hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal committed Jun 11, 2021
1 parent 4b96f9c commit 7629f93
Showing 1 changed file with 30 additions and 29 deletions.
59 changes: 30 additions & 29 deletions modules/mod-as-common/src/plugins/AzthMiscPlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,35 +23,36 @@ class AzthMiscPlg : public MiscScript
sAZTH->DeleteAZTHPlayer(origin);
}

void OnConstructObject(Object* origin) override
{
sAZTH->AddAZTHObject(origin);
}

void OnDestructObject(Object* origin) override
{
sAZTH->DeleteAZTHObject(origin);
}

void OnConstructGroup(Group* origin) override
{
sAZTH->AddAZTHGroup(origin);
}

void OnDestructGroup(Group* origin) override
{
sAZTH->DeleteAZTHGroup(origin);
}

void OnConstructInstanceSave(InstanceSave* origin) override
{
sAZTH->AddAZTHInstanceSave(origin);
}

void OnDestructInstanceSave(InstanceSave* origin) override
{
sAZTH->DeleteAZTHInstanceSave(origin);
}
// [AZTH-DISABLED]
// void OnConstructObject(Object* origin) override
// {
// sAZTH->AddAZTHObject(origin);
// }

// void OnDestructObject(Object* origin) override
// {
// sAZTH->DeleteAZTHObject(origin);
// }

// void OnConstructGroup(Group* origin) override
// {
// sAZTH->AddAZTHGroup(origin);
// }

// void OnDestructGroup(Group* origin) override
// {
// sAZTH->DeleteAZTHGroup(origin);
// }

// void OnConstructInstanceSave(InstanceSave* origin) override
// {
// sAZTH->AddAZTHInstanceSave(origin);
// }

// void OnDestructInstanceSave(InstanceSave* origin) override
// {
// sAZTH->DeleteAZTHInstanceSave(origin);
// }
};

void AddSC_azth_misc_plg() {
Expand Down

0 comments on commit 7629f93

Please sign in to comment.