Public Member Functions

IFactionBase Interface Reference

Inherited by FactionBase.

List of all members.

Public Member Functions

uint get_Id () const
 Unique id of the base.
uint get_FactionId () const
 Id of the faction owning the base.
const stringget_Name () const
 Name of the base, unique within faction.
uint get_LocationId () const
 Id of the underlying location.
void Show (Critter& cr) const
 Shows the underlying location to the critter.
void Hide (Critter& cr) const
 Hides the underlying location from critter.
bool IsRankAllowed (int rank) const
 Checks if given rank (within owning faction) is allowed to see this base.
void AllowRank (int rank, bool allow)
 Allows/disallows rank to see this base.
bool IsStatusAllowed (int status) const
 Checks if players that are filled in owning faction database and have given status are allowed to see the base.
void AllowStatus (int status, bool allow)
 Allows/disallows players with given status to see this base.
void Remove ()
 Removes all additional data associated with this IFactionBase object.

Member Function Documentation

uint get_Id (  )  const

Unique id of the base.

Implemented in FactionBase.

uint get_FactionId (  )  const

Id of the faction owning the base.

Implemented in FactionBase.

const string& get_Name (  )  const

Name of the base, unique within faction.

Implemented in FactionBase.

uint get_LocationId (  )  const

Id of the underlying location.

Implemented in FactionBase.

void Show ( Critter cr  )  const

Shows the underlying location to the critter.

Implemented in FactionBase.

void Hide ( Critter cr  )  const

Hides the underlying location from critter.

Implemented in FactionBase.

bool IsRankAllowed ( int  rank  )  const

Checks if given rank (within owning faction) is allowed to see this base.

Implemented in FactionBase.

void AllowRank ( int  rank,
bool  allow 
)

Allows/disallows rank to see this base.

Implemented in FactionBase.

bool IsStatusAllowed ( int  status  )  const

Checks if players that are filled in owning faction database and have given status are allowed to see the base.

Implemented in FactionBase.

void AllowStatus ( int  status,
bool  allow 
)

Allows/disallows players with given status to see this base.

Implemented in FactionBase.

void Remove (  ) 

Removes all additional data associated with this IFactionBase object.

Implemented in FactionBase.