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

Method GetCustomTintIntensity

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

Gets custom tint intensity from TechnoTypes & Warheads.

Source from the content-addressed store, hash-verified

194
195// Gets custom tint intensity from TechnoTypes & Warheads.
196int TechnoExt::GetCustomTintIntensity(TechnoClass* pThis)
197{
198 int dummy = 0;
199 int intensity = 0;
200 TechnoExt::ApplyCustomTintValues(pThis, dummy, intensity);
201 return intensity;
202}
203
204// Applies custom tint color and intensity from TechnoTypes and any AttachEffects and shields it might have on provided values.
205void TechnoExt::ApplyCustomTintValues(TechnoClass* pThis, int& color, int& intensity)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected