MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / InitializeAttachEffects

Method InitializeAttachEffects

src/Ext/Techno/Body.Internal.cpp:148–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void TechnoExt::ExtData::InitializeAttachEffects()
149{
150 if (auto pTypeExt = this->TypeExtData)
151 {
152 if (pTypeExt->AttachEffects.AttachTypes.size() < 1)
153 return;
154
155 auto const pThis = this->OwnerObject();
156 AttachEffectClass::Attach(pThis, pThis->Owner, pThis, pThis, pTypeExt->AttachEffects);
157 }
158}
159
160// Gets tint colors for invulnerability, airstrike laser target and berserk, depending on parameters.
161int TechnoExt::GetTintColor(TechnoClass* pThis, bool invulnerability, bool airstrike, bool berserk)

Callers 1

Hooks.cppFile · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected