2011-10-01 17:59:46 +00:00
|
|
|
package me.StevenLawson.TotalFreedomMod;
|
|
|
|
|
|
|
|
public class TFUserInfo
|
|
|
|
{
|
|
|
|
private boolean user_frozen = false;
|
|
|
|
private int msg_count = 0;
|
|
|
|
private int bd_count = 0;
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-01 17:59:46 +00:00
|
|
|
public TFUserInfo()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isFrozen()
|
|
|
|
{
|
|
|
|
return this.user_frozen;
|
|
|
|
}
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-01 17:59:46 +00:00
|
|
|
public void setFrozen(boolean fr)
|
|
|
|
{
|
|
|
|
this.user_frozen = fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void resetMsgCount()
|
|
|
|
{
|
|
|
|
this.msg_count = 0;
|
|
|
|
}
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-01 17:59:46 +00:00
|
|
|
public void incrementMsgCount()
|
|
|
|
{
|
|
|
|
this.msg_count++;
|
|
|
|
}
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-01 17:59:46 +00:00
|
|
|
public int getMsgCount()
|
|
|
|
{
|
|
|
|
return this.msg_count;
|
|
|
|
}
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-01 17:59:46 +00:00
|
|
|
public void incrementBlockDestroyCount()
|
|
|
|
{
|
|
|
|
this.bd_count++;
|
|
|
|
}
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-01 17:59:46 +00:00
|
|
|
public int getBlockDestroyCount()
|
|
|
|
{
|
|
|
|
return this.bd_count;
|
|
|
|
}
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-01 17:59:46 +00:00
|
|
|
public void resetBlockDestroyCount()
|
|
|
|
{
|
|
|
|
this.bd_count = 0;
|
|
|
|
}
|
|
|
|
}
|