TModLoader
v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
ParticleOrchestraSettings.cs
Go to the documentation of this file.
1
using
System.IO;
2
using
Microsoft.Xna.Framework;
3
4
namespace
Terraria.GameContent.Drawing
;
5
6
public
struct
ParticleOrchestraSettings
7
{
8
public
Vector2
PositionInWorld
;
9
10
public
Vector2
MovementVector
;
11
12
public
int
UniqueInfoPiece
;
13
14
public
byte
IndexOfPlayerWhoInvokedThis
;
15
16
public
const
int
SerializationSize
= 21;
17
18
public
void
Serialize
(BinaryWriter writer)
19
{
20
//IL_0002: Unknown result type (might be due to invalid IL or missing references)
21
//IL_000e: Unknown result type (might be due to invalid IL or missing references)
22
writer.WriteVector2(
PositionInWorld
);
23
writer.WriteVector2(
MovementVector
);
24
writer.Write(
UniqueInfoPiece
);
25
writer.Write(
IndexOfPlayerWhoInvokedThis
);
26
}
27
28
public
void
DeserializeFrom
(BinaryReader reader)
29
{
30
//IL_0002: Unknown result type (might be due to invalid IL or missing references)
31
//IL_0007: Unknown result type (might be due to invalid IL or missing references)
32
//IL_000e: Unknown result type (might be due to invalid IL or missing references)
33
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
34
PositionInWorld
= reader.ReadVector2();
35
MovementVector
= reader.ReadVector2();
36
UniqueInfoPiece
= reader.ReadInt32();
37
IndexOfPlayerWhoInvokedThis
= reader.ReadByte();
38
}
39
}
Terraria.GameContent.Drawing
Definition
ParticleOrchestraSettings.cs:4
Terraria.GameContent.Drawing.ParticleOrchestraSettings.UniqueInfoPiece
int UniqueInfoPiece
Definition
ParticleOrchestraSettings.cs:12
Terraria.GameContent.Drawing.ParticleOrchestraSettings.IndexOfPlayerWhoInvokedThis
byte IndexOfPlayerWhoInvokedThis
Definition
ParticleOrchestraSettings.cs:14
Terraria.GameContent.Drawing.ParticleOrchestraSettings.PositionInWorld
Vector2 PositionInWorld
Definition
ParticleOrchestraSettings.cs:8
Terraria.GameContent.Drawing.ParticleOrchestraSettings.Serialize
void Serialize(BinaryWriter writer)
Definition
ParticleOrchestraSettings.cs:18
Terraria.GameContent.Drawing.ParticleOrchestraSettings.MovementVector
Vector2 MovementVector
Definition
ParticleOrchestraSettings.cs:10
Terraria.GameContent.Drawing.ParticleOrchestraSettings.SerializationSize
const int SerializationSize
Definition
ParticleOrchestraSettings.cs:16
Terraria.GameContent.Drawing.ParticleOrchestraSettings.DeserializeFrom
void DeserializeFrom(BinaryReader reader)
Definition
ParticleOrchestraSettings.cs:28
Terraria.GameContent.Drawing.ParticleOrchestraSettings
Definition
ParticleOrchestraSettings.cs:7
source
Terraria.GameContent.Drawing
ParticleOrchestraSettings.cs
Generated by
1.10.0