public static void Glow(int GlowIndex, Structs.GlowStruct GlowColor, GlowStyle _GlowStyle, GlowType _GlowType) { CylMem.WriteFloat(GlowObject + ((GlowIndex * 0x38) + 0x4), GlowColor.r); CylMem.WriteFloat(GlowObject + ((GlowIndex * 0x38) + 0x8), GlowColor.g); CylMem.WriteFloat(GlowObject + ((GlowIndex * 0x38) + 0xC), GlowColor.b); CylMem.WriteFloat(GlowObject + ((GlowIndex * 0x38) + 0x10), GlowColor.a); CylMem.WriteInt(GlowObject + ((GlowIndex * 0x38) + 0x2C), (int)_GlowType); CylMem.WriteBoolean(GlowObject + ((GlowIndex * 0x38) + 0x24), true); CylMem.WriteBoolean(GlowObject + ((GlowIndex * 0x38) + 0x25), false); if (_GlowStyle == Enums.GlowStyle.BLOOM) { CylMem.WriteBoolean(GlowObject + ((GlowIndex * 0x38) + 0x26), true); } }
public static void SpotPlayer(int entBase) { CylMem.WriteBoolean(entBase + m_bSpotted, true); }