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.

41 lines
1.0 KiB

package org.poopki.duckdns.user_db;
3 years ago
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
3 years ago
public class UserInfo extends Status {
private UUID m_UUID;
private String m_Name;
3 years ago
private static Map<String, Integer> m_status = new HashMap<String, Integer>();
private int m_Nation;
private int m_Squad;
private int m_Farm;
private UUID m_Party;
3 years ago
public UserInfo(UUID uuid, String Name, int Nation, int Squad, int Farm){ //UserInfo 초기화
3 years ago
super(100,100,1,10,10,10,10);
m_UUID = uuid;
3 years ago
m_Name = Name;
m_Nation = Nation;
m_Squad = Squad;
3 years ago
m_Farm = Farm;
}
3 years ago
public void JoinNation(int Nation) { m_Nation = Nation; }
public void JoinSquad(int Squad) { m_Squad = Squad; }
public void JoinFarm(int Farm) { m_Farm = Farm; }
public String getUserName(){
return m_Name;
}
3 years ago
public UUID getUserUUID(){ return m_UUID; }
public UUID getPartyUUID(){ return m_Party; }
public void setPartyUUID(UUID uuid){ m_Party = uuid; }
}