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.UUID;
|
|
|
|
|
|
|
|
public class UserInfo {
|
|
|
|
private UUID m_UUID;
|
|
|
|
private String m_Name;
|
|
|
|
private int m_Nation;
|
|
|
|
private int m_Squad;
|
|
|
|
private int m_Farm;
|
|
|
|
private Account m_Account;
|
|
|
|
|
|
|
|
public UserInfo(UUID uuid, int Nation, int Squad, int Farm, Account Instance){
|
|
|
|
m_UUID = uuid;
|
|
|
|
m_Nation = Nation;
|
|
|
|
m_Squad = Squad;
|
|
|
|
m_Account = Instance;
|
|
|
|
}
|
|
|
|
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 int getBalance(){ return m_Account.getBalance();}
|
|
|
|
public String getUserName(){
|
|
|
|
return m_Name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public UUID getUserUUID(){
|
|
|
|
return m_UUID;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|