src/Neuron/GameServer/Player.php
public function resetAccount ($key)
    {
        $this->loadData ();

        // Check key
        if (strtotime ($this->data['tmp_key_end']) > time () && $this->data['tmp_key'] == $key)
        {
            return $this->doResetAccount ();
        }

        return false;
    }
public function resetAccount ($key)
    {
        $this->loadData ();

        // Check key
        if (strtotime ($this->data['tmp_key_end']) > time () && $this->data['tmp_key'] == $key)
        {
            return $this->doResetAccount ();
        }

        return false;
    }
public function resetAccount ( $ key ) { $ this -> loadData ( ) ; // Check key if ( strtotime ( $ this -> data [ 'tmp_key_end' ] ) > time ( ) && $ this -> data [ 'tmp_key' ] == $ key ) { return $ this -> doResetAccount ( ) ; } return false ; }
/*
This function resets the player acocunt.

This includes:
- Disable all villages this player owns
/ * This function resets the player acocunt .