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

◆ DoesPlayerSlotCountAsAHost()

static bool Terraria.NetMessage.DoesPlayerSlotCountAsAHost ( int plr)
inlinestatic

Definition at line 3039 of file NetMessage.cs.

3040 {
3041 if (Netplay.Clients[plr].State == 10)
3042 {
3043 return Netplay.Clients[plr].Socket.GetRemoteAddress().IsLocalHost();
3044 }
3045 return false;
3046 }

References Terraria.Netplay.Clients.

Referenced by Terraria.NetMessage.EnsureLocalPlayerIsPresent(), and Terraria.MessageBuffer.GetData().

+ Here is the caller graph for this function: