isAlly

open fun isAlly(guild: Guild, target: Guild): Boolean(source)

Simple method to check if two guilds are allies

Return

allies or not

Parameters

guild

the first guild

target

the second guild


open fun isAlly(player: Player, target: Player): Boolean(source)

Check if two players are allies.

Return

true if the players are allies, false otherwise

Parameters

player

the first player

target

the second player