summaryrefslogtreecommitdiff
path: root/src/netcomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/netcomputer.h')
-rw-r--r--src/netcomputer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/netcomputer.h b/src/netcomputer.h
index 766cf94a..8dace0d8 100644
--- a/src/netcomputer.h
+++ b/src/netcomputer.h
@@ -84,6 +84,11 @@ class NetComputer
void setAccount(tmwserv::Account *acc);
/**
+ * Unset the account associated with the connection
+ */
+ void unsetAccount();
+
+ /**
* Get account associated with the connection
*/
tmwserv::Account *getAccount() { return account; }
@@ -94,6 +99,12 @@ class NetComputer
void setCharacter(tmwserv::Being *ch);
/**
+ * Deselect the character associated with connection
+ * and remove it from the world
+ */
+ void unsetCharacter();
+
+ /**
* Get character associated with the connection
*/
tmwserv::Being *getCharacter() { return character; }