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.

29 lines
925 B

package org.poopki.duckdns.user_db;
import java.util.*;
3 years ago
public class UserInfo extends Status {
private UUID m_UUID;
private String m_Name;
3 years ago
private Map<String, UUID> m_GroupUUID = new HashMap<String, UUID>();
2 years ago
public UserInfo(UUID uuid, String Name, UUID Nation, UUID Squad, UUID Farm, UUID Party){ //UserInfo 초기화
2 years ago
super(100,100,1,10,10,10,10); //HP, MP, LEV, STR, DEX, INT, LUK
m_UUID = uuid;
3 years ago
m_Name = Name;
3 years ago
2 years ago
m_GroupUUID.put("Nation", Nation);
m_GroupUUID.put("Squad", Squad);
m_GroupUUID.put("Farm", Farm);
m_GroupUUID.put("Party", Party);
}
public void SetGroupUUID(String GroupType, UUID m_UUID){ m_GroupUUID.put(GroupType, m_UUID); }
public UUID GetGroupUUID(String GroupType){ return m_GroupUUID.get(GroupType); }
public String getUserName(){
return m_Name;
}
3 years ago
public UUID getUserUUID(){ return m_UUID; }
}