TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ BroadcastParticleSpawn()

static void Terraria.GameContent.Drawing.ParticleOrchestrator.BroadcastParticleSpawn ( ParticleOrchestraType type,
ParticleOrchestraSettings settings )
inlinestatic

Definition at line 45 of file ParticleOrchestrator.cs.

46 {
47 settings.IndexOfPlayerWhoInvokedThis = (byte)Main.myPlayer;
48 NetManager.Instance.BroadcastOrLoopback(NetParticlesModule.Serialize(type, settings));
49 }
static NetPacket Serialize(ParticleOrchestraType particleType, ParticleOrchestraSettings settings)
static readonly NetManager Instance
Definition NetManager.cs:21

References Terraria.Net.NetManager.Instance, Terraria.Main.myPlayer, and Terraria.GameContent.NetModules.NetParticlesModule.Serialize().

Referenced by Terraria.NPC.AI_007_TownEntities(), Terraria.NPC.AI_007_TownEntities_Shimmer_TeleportToLandingSpot(), Terraria.NPC.RerollVariation(), Terraria.NPC.TransformCopperSlime(), Terraria.NPC.TransformElderSlime(), and Terraria.NPC.ViolentlySpawnNerdySlime().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: