1234567891011121314151617181920212223 |
- #include "simplechatgameuser.h"
- simplechatgameuser::simplechatgameuser()
- {
- client = nullptr;
- username = nullptr;
- userdata = nullptr;
- }
- simplechatgameuser::~simplechatgameuser()
- {
- client = nullptr;
- idisposable::dereference((idisposable **)&username);
- idisposable::dereference((idisposable **)&userdata);
- }
- void simplechatgameuser::dispose()
- {
- delete this;
- }
- simplechatgameuser *simplechatgameuser::clone()
- {
- usage++;
- return this;
- }
|