mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-08 22:25:42 +12:00
Add / remove mods from the player list if stealth flag is set.
This commit is contained in:
parent
8078554918
commit
ed89bc3b1e
1 changed files with 18 additions and 2 deletions
|
@ -26,8 +26,7 @@ namespace HISP.Player
|
||||||
|
|
||||||
public bool MetaPriority = false;
|
public bool MetaPriority = false;
|
||||||
|
|
||||||
public bool Stealth = false;
|
|
||||||
|
|
||||||
public int Facing;
|
public int Facing;
|
||||||
public Mailbox MailBox;
|
public Mailbox MailBox;
|
||||||
public Friends Friends;
|
public Friends Friends;
|
||||||
|
@ -36,6 +35,22 @@ namespace HISP.Player
|
||||||
public Npc.NpcEntry LastTalkedToNpc;
|
public Npc.NpcEntry LastTalkedToNpc;
|
||||||
public Shop LastShoppedAt;
|
public Shop LastShoppedAt;
|
||||||
public PlayerQuests Quests;
|
public PlayerQuests Quests;
|
||||||
|
public bool Stealth
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return stealth;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (value)
|
||||||
|
Database.RemoveOnlineUser(this.Id);
|
||||||
|
else
|
||||||
|
Database.AddOnlineUser(this.Id, this.Administrator, this.Moderator);
|
||||||
|
|
||||||
|
stealth = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
public int ChatViolations
|
public int ChatViolations
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -143,6 +158,7 @@ namespace HISP.Player
|
||||||
private int charId;
|
private int charId;
|
||||||
private string profilePage;
|
private string profilePage;
|
||||||
private int x;
|
private int x;
|
||||||
|
private bool stealth = false;
|
||||||
private int y;
|
private int y;
|
||||||
private int money;
|
private int money;
|
||||||
private int questPoints;
|
private int questPoints;
|
||||||
|
|
Loading…
Add table
Reference in a new issue