Skip to content

Commit

Permalink
Add some functions to compatibility layer of gesioraac
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Aug 5, 2023
1 parent 559c2c7 commit a8172a5
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions system/compat/classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,30 @@
*/
defined('MYAAC') or die('Direct access not allowed!');

class Player extends OTS_Player {}
class Guild extends OTS_Guild {}
class Account extends OTS_Account {
public function loadById($id) {
$this->load($id);
}
public function loadByName($name) {
$this->find($name);
}
}

class Player extends OTS_Player {
public function loadById($id) {
$this->load($id);
}
public function loadByName($name) {
$this->find($name);
}
}
class Guild extends OTS_Guild {
public function loadById($id) {
$this->load($id);
}
public function loadByName($name) {
$this->find($name);
}
}
class GuildRank extends OTS_GuildRank {}
class House extends OTS_House {}

0 comments on commit a8172a5

Please sign in to comment.