mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 17:37:50 -05:00
130 lines
2.9 KiB
ActionScript
130 lines
2.9 KiB
ActionScript
package avatar
|
|
{
|
|
public class AvatarDef
|
|
{
|
|
|
|
private var _defId:int;
|
|
|
|
private var _colorLayer1:uint;
|
|
|
|
private var _colorLayer2:uint;
|
|
|
|
private var _colorLayer3:uint;
|
|
|
|
private var _defPattern:int;
|
|
|
|
private var _defEyes:int;
|
|
|
|
private var _isMemOnly:Boolean;
|
|
|
|
private var _enviroTypeFlag:int;
|
|
|
|
private var _cost:int;
|
|
|
|
private var _titleStrRef:int;
|
|
|
|
private var _availability:int;
|
|
|
|
private var _attackItemRefId:int;
|
|
|
|
private var _iconMediaId:int;
|
|
|
|
private var _status:int;
|
|
|
|
public function AvatarDef(param1:int, param2:uint, param3:uint, param4:uint, param5:int, param6:int, param7:Boolean, param8:int, param9:int, param10:int, param11:int, param12:int, param13:int, param14:int)
|
|
{
|
|
super();
|
|
_defId = param1;
|
|
_colorLayer1 = param2;
|
|
_iconMediaId = param13;
|
|
_attackItemRefId = param12;
|
|
_availability = param11;
|
|
_titleStrRef = param10;
|
|
_cost = param9;
|
|
_enviroTypeFlag = param8;
|
|
_isMemOnly = param7;
|
|
_defEyes = param6;
|
|
_defPattern = param5;
|
|
_colorLayer3 = param4;
|
|
_colorLayer2 = param3;
|
|
_status = param14;
|
|
}
|
|
|
|
public function get status() : int
|
|
{
|
|
return _status;
|
|
}
|
|
|
|
public function get iconMediaId() : int
|
|
{
|
|
return _iconMediaId;
|
|
}
|
|
|
|
public function get attackItemRefId() : int
|
|
{
|
|
return _attackItemRefId;
|
|
}
|
|
|
|
public function get availability() : int
|
|
{
|
|
return _availability;
|
|
}
|
|
|
|
public function get titleStrRef() : int
|
|
{
|
|
return _titleStrRef;
|
|
}
|
|
|
|
public function get cost() : int
|
|
{
|
|
return _cost;
|
|
}
|
|
|
|
public function get enviroTypeFlag() : int
|
|
{
|
|
return _enviroTypeFlag;
|
|
}
|
|
|
|
public function get isMemOnly() : Boolean
|
|
{
|
|
return _isMemOnly;
|
|
}
|
|
|
|
public function get defEyes() : int
|
|
{
|
|
return _defEyes;
|
|
}
|
|
|
|
public function get defPattern() : int
|
|
{
|
|
return _defPattern;
|
|
}
|
|
|
|
public function get colorLayer3() : uint
|
|
{
|
|
return _colorLayer3;
|
|
}
|
|
|
|
public function get colorLayer2() : uint
|
|
{
|
|
return _colorLayer2;
|
|
}
|
|
|
|
public function get colorLayer1() : uint
|
|
{
|
|
return _colorLayer1;
|
|
}
|
|
|
|
public function get defId() : int
|
|
{
|
|
return _defId;
|
|
}
|
|
|
|
public function get patternRefId() : int
|
|
{
|
|
throw new Error("If this is not overrided by CustomAvatarDef then it is not valid");
|
|
}
|
|
}
|
|
}
|
|
|