getAddressType()


Module: libcod

Summary:

Gets the address type of a player as integer (0 = bot, 1 = bad, 2 = loopback, 3 = broadcast, 4 = ip)



Call this on:

The player



Example:

 addresstype = self getAddressType();