Class CommonRadioPlugin

java.lang.Object
com.codinglitch.simpleradio.radio.CommonRadioPlugin

public class CommonRadioPlugin extends Object
  • Field Details

    • RADIOS_CATEGORY

      public static String RADIOS_CATEGORY
    • SPEAKERS_CATEGORY

      public static String SPEAKERS_CATEGORY
    • WALKIES_CATEGORY

      public static String WALKIES_CATEGORY
    • TRANSCEIVERS_CATEGORY

      public static String TRANSCEIVERS_CATEGORY
    • speakers

      @Nullable public static @Nullable de.maxhenkel.voicechat.api.VolumeCategory speakers
    • radios

      @Nullable public static @Nullable de.maxhenkel.voicechat.api.VolumeCategory radios
    • walkies

      @Nullable public static @Nullable de.maxhenkel.voicechat.api.VolumeCategory walkies
    • transceivers

      @Nullable public static @Nullable de.maxhenkel.voicechat.api.VolumeCategory transceivers
    • serverApi

      @Nullable public static @Nullable de.maxhenkel.voicechat.api.VoicechatServerApi serverApi
    • commonApi

      public static de.maxhenkel.voicechat.api.VoicechatApi commonApi
  • Constructor Details

    • CommonRadioPlugin

      public CommonRadioPlugin()
  • Method Details

    • analyzeActivity

      public static float analyzeActivity(short[] data)
    • combineAudio

      public static short[] combineAudio(List<short[]> audioParts)
    • getFalloff

      public static double getFalloff(float distance, float range)
    • getDoppler

      public static double getDoppler(org.joml.Vector3f sourcePosition, org.joml.Vector3f sourceVelocity, org.joml.Vector3f observerPosition, org.joml.Vector3f observerVelocity)
    • getPluginId

      public String getPluginId()
    • serverTick

      public void serverTick(int tickCount)
    • registerEvents

      public void registerEvents(de.maxhenkel.voicechat.api.events.EventRegistration registration)
    • onServerStarted

      public void onServerStarted(de.maxhenkel.voicechat.api.events.VoicechatServerStartedEvent event)