From cdd8e425872b94878babf7823cd12381d2db1a5c Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Fri, 27 Jul 2018 00:12:41 +0100 Subject: cWorld: Manually bind deprecated broadcast functions (#4265) Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 --- Server/Plugins/APIDump/Classes/World.lua | 56 ++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'Server') diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua index 8f1b29012..bb991d9e6 100644 --- a/Server/Plugins/APIDump/Classes/World.lua +++ b/Server/Plugins/APIDump/Classes/World.lua @@ -293,6 +293,38 @@ return IsOptional = true, }, }, + Notes = "Spawns the specified particles to all players in the world exept the optional ExeptClient. A list of available particles by thinkofdeath can be found {{https://gist.github.com/thinkofdeath/5110835|Here}}. OBSOLETE, use the vector-based overload instead", + }, + BroadcastParticleEffect = + { + Params = + { + { + Name = "ParticleName", + Type = "string", + }, + { + Name = "SourcePos", + Type = "Vector3f" + }, + { + Name = "Offset", + Type = "Vector3f", + }, + { + Name = "ParticleData", + Type = "number", + }, + { + Name = "ParticleAmount", + Type = "number", + }, + { + Name = "ExcludeClient", + Type = "cClientHandle", + IsOptional = true, + }, + }, Notes = "Spawns the specified particles to all players in the world exept the optional ExeptClient. A list of available particles by thinkofdeath can be found {{https://gist.github.com/thinkofdeath/5110835|Here}}", }, BroadcastSoundEffect = @@ -389,6 +421,30 @@ return IsOptional = true, }, }, + Notes = "Sends the specified effect to all players in this world, except the optional ExceptClient. OBSOLETE, use the vector overload instead", + }, + BroadcastSoundParticleEffect = + { + Params = + { + { + Name = "EffectID", + Type = "number", + }, + { + Name = "SourcePos", + Type = "Vector3i" + }, + { + Name = "EffectData", + Type = "string", + }, + { + Name = "ExcludeClient", + Type = "cClientHandle", + IsOptional = true, + }, + }, Notes = "Sends the specified effect to all players in this world, except the optional ExceptClient", }, CastThunderbolt = -- cgit v1.2.3