You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package org.poopki.duckdns.user_db;
|
|
|
|
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.UUID;
|
|
|
|
|
|
|
|
public class UserInfoArray {
|
|
|
|
public static Map<UUID, UserInfo> m_UserInfoArray = new HashMap<UUID, UserInfo>();
|
|
|
|
|
|
|
|
public void getUserInfo(Player p) {
|
|
|
|
UserInfo m_UserInfo = m_UserInfoArray.get(p.getUniqueId());
|
|
|
|
p.sendMessage(m_UserInfo.getUserName() + m_UserInfo.getUserUUID() + ("중복 입장"));
|
|
|
|
}
|
|
|
|
|
|
|
|
public void putUserInfo(Player p) {
|
|
|
|
m_UserInfoArray.put(p.getUniqueId(), new UserInfo(p));
|
|
|
|
UserInfo m_UserInfo = m_UserInfoArray.get(p.getUniqueId());
|
|
|
|
p.sendMessage(m_UserInfo.getUserName() + m_UserInfo.getUserUUID() + ("초기 입장"));
|
|
|
|
}
|
|
|
|
}
|