khanat-opennel-code/code/web/app/app_achievements/class/RyzomUser_class.php

41 lines
618 B
PHP
Raw Normal View History

<?php
class RyzomUser {
private $data;
function RyzomUser($data) {
$this->data = $data;
}
function getID() {
2012-07-09 17:10:44 +00:00
return $this->data["cid"];
}
function getLang() {
return $this->data['lang'];
}
function isIG() {
return $this->data['ig'];
}
function getParam($p) {
return $this->data[$p];
}
2012-06-03 13:04:04 +00:00
function getRace() {
return $this->data['race'];
}
function getCiv() {
return $this->data['civilization'];
}
function getCult() {
return $this->data['cult'];
}
function getName() {
return $this->data['name'];
}
}
?>