Taking a look in FCommand.
This commit is contained in:
parent
14715d1cfc
commit
879e8b4170
@ -24,6 +24,8 @@ public abstract class FCommand extends MCommand<Factions>
|
||||
|
||||
public FPlayer fme;
|
||||
public Faction myFaction;
|
||||
|
||||
// TODO: All these are "command reqs"
|
||||
public boolean senderMustBeMember;
|
||||
public boolean senderMustBeOfficer;
|
||||
public boolean senderMustBeLeader;
|
||||
@ -122,6 +124,9 @@ public abstract class FCommand extends MCommand<Factions>
|
||||
// Assertions
|
||||
// -------------------------------------------- //
|
||||
|
||||
// These are not used. Remove in the future if no need for them arises.
|
||||
|
||||
/*
|
||||
public boolean assertHasFaction()
|
||||
{
|
||||
if (me == null) return true;
|
||||
@ -144,12 +149,14 @@ public abstract class FCommand extends MCommand<Factions>
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}*/
|
||||
|
||||
// -------------------------------------------- //
|
||||
// Argument Readers
|
||||
// -------------------------------------------- //
|
||||
|
||||
// TODO: Convert these arg-readers to MCore ArgReaders.
|
||||
|
||||
// FPLAYER ======================
|
||||
public FPlayer strAsFPlayer(String name, FPlayer def, boolean msg)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user