81 lines
		
	
	
	
		
			2.2 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			81 lines
		
	
	
	
		
			2.2 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@class Configuration
 | 
						|
---@field VoiceEnabled boolean
 | 
						|
---@field ServerUniqueIdentifier string
 | 
						|
---@field MinimumPluginVersion string
 | 
						|
---@field SoundPack string
 | 
						|
---@field IngameChannelId number
 | 
						|
---@field IngameChannelPassword string
 | 
						|
---@field SwissChannelIds number[]
 | 
						|
---@field VoiceRanges number[]
 | 
						|
---@field EnableVoiceRangeNotification boolean
 | 
						|
---@field VoiceRangeNotification string
 | 
						|
---@field IgnoreInvisiblePlayers boolean
 | 
						|
---@field RadioType number
 | 
						|
---@field EnableRadioHardcoreMode boolean
 | 
						|
---@field UltraShortRangeDistance number
 | 
						|
---@field ShortRangeDistance number
 | 
						|
---@field LongRangeDistace number
 | 
						|
---@field MegaphoneRange number
 | 
						|
---@field VariablePhoneDistortion boolean
 | 
						|
---@field NamePattern string
 | 
						|
---@field RequestTalkStates boolean
 | 
						|
---@field RequestRadioTrafficStates boolean
 | 
						|
---@field ToggleRange string
 | 
						|
---@field TalkPrimary string
 | 
						|
---@field TalkSecondary string
 | 
						|
---@field TalkMegaphone string
 | 
						|
 | 
						|
Configuration = {
 | 
						|
  ---@type boolean
 | 
						|
  Debug = false,
 | 
						|
  ---@type boolean
 | 
						|
  VoiceEnabled = true,
 | 
						|
  ---@type string
 | 
						|
  ServerUniqueIdentifier = "LNdAB6rMghEXdCoudmtbnJXIsog=",
 | 
						|
  ---@type string
 | 
						|
  MinimumPluginVersion = "3.1.0",
 | 
						|
  ---@type string
 | 
						|
  SoundPack = "default",
 | 
						|
  ---@type number
 | 
						|
  IngameChannelId = 5,
 | 
						|
  ---@type string
 | 
						|
  IngameChannelPassword = "nessi2025",
 | 
						|
  ---@type number[]
 | 
						|
  SwissChannelIds = { 63, 62 },
 | 
						|
  ---@type number[]
 | 
						|
  VoiceRanges = { 3.0, 8.0, 15.0, 32.0 },
 | 
						|
  ---@type boolean
 | 
						|
  EnableVoiceRangeNotification = true,
 | 
						|
  ---@type string
 | 
						|
  VoiceRangeNotification = "Reichweite {voicerange}m.",
 | 
						|
  ---@type boolean
 | 
						|
  IgnoreInvisiblePlayers = true,
 | 
						|
  ---@type integer
 | 
						|
  RadioType = 4,
 | 
						|
  ---@type boolean
 | 
						|
  EnableRadioHardcoreMode = true,
 | 
						|
  ---@type number
 | 
						|
  UltraShortRangeDistance = 1800.0,
 | 
						|
  ---@type number
 | 
						|
  ShortRangeDistance = 3000.0,
 | 
						|
  ---@type number
 | 
						|
  LongRangeDistace = 8000.0,
 | 
						|
  ---@type number
 | 
						|
  MegaphoneRange = 120.0,
 | 
						|
  ---@type boolean
 | 
						|
  VariablePhoneDistortion = true,
 | 
						|
  ---@type string
 | 
						|
  NamePattern = "[{serverid}]{playername}",
 | 
						|
  ---@type boolean
 | 
						|
  RequestTalkStates = true,
 | 
						|
  ---@type boolean
 | 
						|
  RequestRadioTrafficStates = true,
 | 
						|
  ---@type string
 | 
						|
  ToggleRange = "Z",
 | 
						|
  ---@type string
 | 
						|
  TalkPrimary = "N",
 | 
						|
  ---@type string
 | 
						|
  TalkSecondary = "CAPITAL",
 | 
						|
  ---@type string
 | 
						|
  TalkMegaphone = "B"
 | 
						|
}
 |