2011-10-01 17:59:46 +00:00
|
|
|
package me.StevenLawson.TotalFreedomMod;
|
|
|
|
|
2011-10-02 04:23:22 +00:00
|
|
|
public class TFM_UserInfo
|
2011-10-01 17:59:46 +00:00
|
|
|
{
|
|
|
|
private boolean user_frozen = false;
|
|
|
|
private int msg_count = 0;
|
2011-10-05 19:07:45 +00:00
|
|
|
private int block_destroy_total = 0;
|
|
|
|
|
|
|
|
private int freecam_destroy_count = 0;
|
|
|
|
private int freecam_place_count = 0;
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-02 04:23:22 +00:00
|
|
|
public TFM_UserInfo()
|
2011-10-01 17:59:46 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
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()
|
|
|
|
{
|
2011-10-05 19:07:45 +00:00
|
|
|
this.block_destroy_total++;
|
2011-10-01 17:59:46 +00:00
|
|
|
}
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-01 17:59:46 +00:00
|
|
|
public int getBlockDestroyCount()
|
|
|
|
{
|
2011-10-05 19:07:45 +00:00
|
|
|
return this.block_destroy_total;
|
2011-10-01 17:59:46 +00:00
|
|
|
}
|
2011-10-02 04:18:52 +00:00
|
|
|
|
2011-10-01 17:59:46 +00:00
|
|
|
public void resetBlockDestroyCount()
|
|
|
|
{
|
2011-10-05 19:07:45 +00:00
|
|
|
this.block_destroy_total = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void incrementFreecamDestroyCount()
|
|
|
|
{
|
|
|
|
this.freecam_destroy_count++;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getFreecamDestroyCount()
|
|
|
|
{
|
|
|
|
return this.freecam_destroy_count;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void resetFreecamDestroyCount()
|
|
|
|
{
|
|
|
|
this.freecam_destroy_count = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void incrementFreecamPlaceCount()
|
|
|
|
{
|
|
|
|
this.freecam_place_count++;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getFreecamPlaceCount()
|
|
|
|
{
|
|
|
|
return this.freecam_place_count;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void resetFreecamPlaceCount()
|
|
|
|
{
|
|
|
|
this.freecam_place_count = 0;
|
2011-10-01 17:59:46 +00:00
|
|
|
}
|
|
|
|
}
|