public static void HandleAllianceKickRequest(AllianceKickRequestMessage message, WorldClient client)
 {
     if (client.Character.HasAlliance && AllianceProvider.GetLeader(client.Character.AllianceId).Id == client.Character.GuildId && GuildProvider.GetLeader(client.Character.GuildId).CharacterId == client.Character.Id)
     {
         AllianceRecord.GetAlliance(client.Character.AllianceId).KickFromAlliance((int)message.kickedId, client);
     }
 }
예제 #2
0
 public AllianceRecord GetAlliance()
 {
     return(HasAlliance ? AllianceRecord.GetAlliance(AllianceId) : null);
 }