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

◆ Create()

static void Terraria.GameContent.LucyAxeMessage.Create ( MessageSource source,
Vector2 position,
Vector2 velocity )
inlinestatic

Definition at line 131 of file LucyAxeMessage.cs.

132 {
133 //IL_0013: Unknown result type (might be due to invalid IL or missing references)
134 //IL_0014: Unknown result type (might be due to invalid IL or missing references)
135 //IL_001b: Unknown result type (might be due to invalid IL or missing references)
136 //IL_003d: Unknown result type (might be due to invalid IL or missing references)
137 //IL_0043: Unknown result type (might be due to invalid IL or missing references)
138 //IL_0049: Unknown result type (might be due to invalid IL or missing references)
139 //IL_0050: Unknown result type (might be due to invalid IL or missing references)
140 if (Main.netMode != 2)
141 {
143 SpawnPopupText(source, _variation, position, velocity);
144 PlaySound(source, position);
146 if (Main.netMode == 1)
147 {
148 NetMessage.SendData(141, -1, -1, null, (int)source, (int)_variation, velocity.X, velocity.Y, (int)position.X, (int)position.Y);
149 }
150 _variation++;
151 }
152 }
static void PlaySound(MessageSource source, Vector2 position)
static void SpawnPopupText(MessageSource source, int variationUnwrapped, Vector2 position, Vector2 velocity)

References Terraria.GameContent.LucyAxeMessage._variation, Terraria.GameContent.LucyAxeMessage.GiveIdleMessageCooldown(), Terraria.Main.netMode, Terraria.GameContent.LucyAxeMessage.PlaySound(), Terraria.NetMessage.SendData(), Terraria.GameContent.LucyAxeMessage.SpawnEmoteBubble(), and Terraria.GameContent.LucyAxeMessage.SpawnPopupText().

Referenced by Terraria.Player.DropSelectedItem(), Terraria.Player.GetItem_FillEmptyInventorySlot(), Terraria.Player.ItemCheck_UseMiningTools_ActuallyUseMiningTool(), Terraria.GameContent.LucyAxeMessage.ItemSlot_OnItemTransferred(), Terraria.GameContent.LucyAxeMessage.TryCreatingMessageWithCooldown(), and Terraria.GameContent.LucyAxeMessage.TryPlayingIdleMessage().

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