mirror of
https://github.com/SimplexDevelopment/FreedomNetworkSuite.git
synced 2024-11-14 05:03:33 +00:00
Removes old unused UserData methods
This commit is contained in:
parent
9618e5bcec
commit
ccb456ea0c
@ -51,7 +51,6 @@ public class SimpleUserData implements UserData
|
|||||||
final long playtime,
|
final long playtime,
|
||||||
final boolean frozen,
|
final boolean frozen,
|
||||||
final boolean canInteract,
|
final boolean canInteract,
|
||||||
final boolean caged,
|
|
||||||
final long balance,
|
final long balance,
|
||||||
final boolean transactionsFrozen)
|
final boolean transactionsFrozen)
|
||||||
{
|
{
|
||||||
@ -62,7 +61,6 @@ public class SimpleUserData implements UserData
|
|||||||
this.playtime = playtime;
|
this.playtime = playtime;
|
||||||
this.frozen = frozen;
|
this.frozen = frozen;
|
||||||
this.canInteract = canInteract;
|
this.canInteract = canInteract;
|
||||||
this.caged = caged;
|
|
||||||
this.balance = new AtomicLong(balance);
|
this.balance = new AtomicLong(balance);
|
||||||
this.transactionsFrozen = transactionsFrozen;
|
this.transactionsFrozen = transactionsFrozen;
|
||||||
}
|
}
|
||||||
@ -101,8 +99,7 @@ public class SimpleUserData implements UserData
|
|||||||
final boolean transactionsFrozen = result.getBoolean(
|
final boolean transactionsFrozen = result.getBoolean(
|
||||||
"transactionsFrozen");
|
"transactionsFrozen");
|
||||||
return new SimpleUserData(u, username, user, group, playtime, frozen,
|
return new SimpleUserData(u, username, user, group, playtime, frozen,
|
||||||
canInteract, caged, balance,
|
canInteract, balance, transactionsFrozen);
|
||||||
transactionsFrozen);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (SQLException ex)
|
catch (SQLException ex)
|
||||||
@ -214,19 +211,6 @@ public class SimpleUserData implements UserData
|
|||||||
this.canInteract = canInteract;
|
this.canInteract = canInteract;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isCaged()
|
|
||||||
{
|
|
||||||
return caged;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void setCaged(final boolean caged)
|
|
||||||
{
|
|
||||||
event.ping();
|
|
||||||
this.caged = caged;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean areTransactionsFrozen()
|
public boolean areTransactionsFrozen()
|
||||||
{
|
{
|
||||||
|
@ -34,8 +34,4 @@ public interface UserData extends EconomicEntityData
|
|||||||
boolean canInteract();
|
boolean canInteract();
|
||||||
|
|
||||||
void setInteractionState(boolean canInteract);
|
void setInteractionState(boolean canInteract);
|
||||||
|
|
||||||
boolean isCaged();
|
|
||||||
|
|
||||||
void setCaged(boolean caged);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user