Skip to content

Commit ed1802d

Browse files
committed
Add mobile version packets
ServerInfo is only sent by mobile version self host server PlayerPlatformInfo is sent when mobile players enter a server
1 parent bd3974d commit ed1802d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

TerrariaServerAPI/TerrariaApi.Server/PacketTypes.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,9 @@ public enum PacketTypes
158158
ExtraSpawnSectionLoaded = 158,
159159
RequestSection = 159,
160160
ItemPosition = 160,
161-
HostToken = 161
161+
HostToken = 161,
162+
163+
// Mobile version packets
164+
ServerInfo = 162,
165+
PlayerPlatformInfo = 163
162166
}

0 commit comments

Comments
 (0)