Skip to content

Commit

Permalink
Add support for decoding IntegerBooleans
Browse files Browse the repository at this point in the history
  • Loading branch information
Gigabyte5671 committed Jan 15, 2023
1 parent e69ff53 commit 0cfbd59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/Enumfields.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interface EnumField {
length: number | 'Sized' | 'EnumBlockArray'| 'ArrayOfEnumBlockArrays',
type?: 'Boolean' | 'StringBoolean' | 'Integer' | 'IP' | 'ItemID' | 'MapID' | 'ServerList' | 'String' | 'Version' | 'Region' | 'WatchNowSection' | 'IGMT',
type?: 'Boolean' | 'StringBoolean' | 'IntegerBoolean' | 'Integer' | 'IP' | 'ItemID' | 'MapID' | 'TeamID' | 'ServerList' | 'String' | 'Version' | 'Region' | 'WatchNowSection' | 'IGMT',
name?: string | undefined
}

Expand Down Expand Up @@ -231,7 +231,7 @@ export const generalEnumfields = {
'069F': {length: 4, name: undefined},
'06B7': {length: 4, type: 'Integer', name: undefined},
'06B9': {length: 4, type: 'WatchNowSection', name: 'Watch-Now Section'},
'06BA': {length: 4, type: 'Integer', name: '1 = featured, otherwise not featured'},
'06BA': {length: 4, type: 'IntegerBoolean', name: 'Featured'},
'06BD': {length: 4, name: undefined},
'06BF': {length: 4, type: 'Integer', name: 'Maximum Rank (alt)'},
'06C0': {length: 4, name: undefined},
Expand Down

0 comments on commit 0cfbd59

Please sign in to comment.