Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
CreatePacket< T >()
static
NetPacket
Terraria.Net.NetModule.CreatePacket< T >
(
int
maxSize
)
inline
static
protected
Type Constraints
T
:
NetModule
Definition at line
9
of file
NetModule.cs
.
9
: NetModule
10
{
11
ushort
id
= NetManager.Instance.GetId<T>();
12
return
new
NetPacket(
id
, maxSize);
13
}
References
Terraria.Net.NetManager.Instance
.
Terraria
Net
NetModule
Generated by
1.10.0