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

◆ Register< T >()

void Terraria.Net.NetManager.Register< T > ( )
inline
Type Constraints
T :NetModule 
T :new() 

Definition at line 28 of file NetManager.cs.

28 : NetModule, new()
29 {
30 T val = new T();
32 PacketTypeStorage<T>.Module = val;
35 }
Dictionary< ushort, NetModule > _modules
Definition NetManager.cs:20

References Terraria.Net.NetManager._moduleCount, and Terraria.Net.NetManager._modules.