GetInvCog


Returns the cog assigned to the given bin. This is very useful when you have to send a message to a cog and need a reference to it.

inv_cog=GetInvCog(player, bin);