2020-10-27 21:04:05 +00:00
|
|
|
package me.totalfreedom.plex.cache;
|
|
|
|
|
|
|
|
import com.google.common.collect.Maps;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.UUID;
|
2020-10-28 03:49:56 +00:00
|
|
|
import me.totalfreedom.plex.player.PlexPlayer;
|
|
|
|
import me.totalfreedom.plex.player.PunishedPlayer;
|
2020-10-27 21:04:05 +00:00
|
|
|
|
|
|
|
public class PlayerCache
|
|
|
|
{
|
2020-10-28 03:49:56 +00:00
|
|
|
private static final Map<UUID, PlexPlayer> plexPlayerMap = Maps.newHashMap();
|
|
|
|
private static final Map<UUID, PunishedPlayer> punishedPlayerMap = Maps.newHashMap();
|
2020-10-27 21:04:05 +00:00
|
|
|
|
2020-10-28 03:49:56 +00:00
|
|
|
public static Map<UUID, PunishedPlayer> getPunishedPlayerMap()
|
|
|
|
{
|
2020-10-27 21:04:05 +00:00
|
|
|
return punishedPlayerMap;
|
|
|
|
}
|
|
|
|
|
2020-10-28 03:49:56 +00:00
|
|
|
public static Map<UUID, PlexPlayer> getPlexPlayerMap()
|
|
|
|
{
|
2020-10-27 21:04:05 +00:00
|
|
|
return plexPlayerMap;
|
|
|
|
}
|
2020-10-28 20:47:00 +00:00
|
|
|
|
2020-10-27 21:04:05 +00:00
|
|
|
}
|