Update route data object
This commit is contained in:
parent
55a0d6710f
commit
3ba911a608
1 changed files with 4 additions and 0 deletions
|
@ -397,6 +397,10 @@ public class RouteDataObject {
|
|||
public int getRestrictionType(int i) {
|
||||
return (int) (restrictions[i] & RESTRICTION_MASK);
|
||||
}
|
||||
|
||||
public long getRawRestriction(int i) {
|
||||
return restrictions[i];
|
||||
}
|
||||
|
||||
public long getRestrictionId(int i) {
|
||||
return restrictions[i] >> RESTRICTION_SHIFT;
|
||||
|
|
Loading…
Reference in a new issue