mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Add some functions to compatibility layer of gesioraac
This commit is contained in:
parent
fcb2fc3002
commit
41fa695d8b
@ -9,7 +9,30 @@
|
|||||||
*/
|
*/
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
|
|
||||||
class Player extends OTS_Player {}
|
class Account extends OTS_Account {
|
||||||
class Guild extends OTS_Guild {}
|
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 GuildRank extends OTS_GuildRank {}
|
||||||
class House extends OTS_House {}
|
class House extends OTS_House {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user