API Reference › Sounds
SoundEvent
ClassNamespace: SwiftlyS2.Shared.Sounds · Assembly: SwiftlyS2.CS2.dll
public class SoundEvent : IDisposableInherits object
Implements IDisposable
Constructors
Properties
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()public void SetBool(string fieldName, bool value)public void SetFloat(string fieldName, float value)public void SetFloat3(string fieldName, float x, float y, float z)public void SetFloat3(string fieldName, Vector vec)public void SetInt32(string fieldName, int value)public void SetSourceEntity(CEntityInstance entity)Parameters
- entityCEntityInstance