mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-25 20:55:55 -04:00
24 lines
827 B
Go
24 lines
827 B
Go
package d2records
|
|
|
|
import (
|
|
"github.com/gravestench/akara"
|
|
)
|
|
|
|
// UniqueMonsterPrefix is a representation of a possible name prefix for a unique monster instance
|
|
// eg _Blood_ Wing the Quick
|
|
type UniqueMonsterPrefix = UniqueMonsterAffixRecord
|
|
|
|
// UniqueMonsterSuffix is a representation of a possible name suffix for a unique monster instance.
|
|
// eg. Blood Wing _the Quick_
|
|
type UniqueMonsterSuffix = UniqueMonsterAffixRecord
|
|
|
|
// UniqueMonsterAffixes is a map of UniqueMonsterAffixRecords. The key is the string table lookup key.
|
|
type UniqueMonsterAffixes map[string]*UniqueMonsterAffixRecord
|
|
|
|
// UniqueMonsterAffixRecord is a string table key and a bit vector for the possible monster types
|
|
// that the suffix can be used with.
|
|
type UniqueMonsterAffixRecord struct {
|
|
StringTableKey string
|
|
MonsterTypeFlags *akara.BitSet
|
|
}
|