2012-05-31 13:15:36 +00:00
|
|
|
<?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"];
|
2012-05-31 13:15:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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'];
|
|
|
|
}
|
2012-05-31 13:15:36 +00:00
|
|
|
}
|
|
|
|
?>
|