mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,32 @@
|
||||
package com.sbi.graphics
|
||||
{
|
||||
public class ImageArrayHelper
|
||||
{
|
||||
|
||||
public function ImageArrayHelper()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public static function packId(aId:int, cId:int, lId:int) : uint
|
||||
{
|
||||
return aId << 24 | cId << 16 | lId;
|
||||
}
|
||||
|
||||
public static function avatarId(id:uint) : int
|
||||
{
|
||||
return id >> 24 & 0xFF;
|
||||
}
|
||||
|
||||
public static function categoryId(id:uint) : int
|
||||
{
|
||||
return id >> 16 & 0xFF;
|
||||
}
|
||||
|
||||
public static function layerId(id:uint) : int
|
||||
{
|
||||
return id & 0xFFFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user