cWorld: Manually bind deprecated broadcast functions (#4265)

Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
This commit is contained in:
peterbell10
2018-07-27 00:12:41 +01:00
committed by GitHub
parent 950aeffff8
commit cdd8e42587
16 changed files with 362 additions and 114 deletions
+56
View File
@@ -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}}. <b>OBSOLETE</b>, 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. <b>OBSOLETE</b>, 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 =