Type Function Return value Table Revision Release 2024.3703 Keywords Google Play Games Services, game network, gpgs, multiplayer, getLimits See also gpgs.multiplayer gpgs.*
Retrieves various limits associated with the multiplayer API. Returns a table if the service is available, otherwise nil
.
gpgs.multiplayer.getLimits()
This function returns a table containing the following properties:
reliablePayloadSize
— Number indicating the maximum message size supported by "reliable send" in
unreliablePayloadSize
— Number indicating the maximum message size supported by "unreliable send" in
matchPayloadSize
— Number indicating the maximum data size per match, in bytes. This is guaranteed to be at least 128 KB (may increase in the future).