1 using Microsoft.Xna.Framework;
2 using System.Collections.Immutable;
26 set =>
OwnerTagSet = value.ToIdentifiers().ToImmutableHashSet();
41 private string ownerNameLocalized;
45 get {
return ownerNameLocalized; }
48 if (value.IsNullOrWhiteSpace()) {
return; }
49 ownerNameLocalized = value;
50 OwnerName = TextManager.Get(value).Fallback(value).Value;
90 if (info ==
null) {
return; }
92 if (spawnPoint !=
null)
100 item.
AddTag($
"id_{character.TeamID}".ToIdentifier());
102 if (!
string.IsNullOrWhiteSpace(spawnPoint.
IdCardDesc))
110 var head = info.
Head;
111 if (head ==
null) {
return; }
129 base.Equip(character);
135 base.Unequip(character);
readonly HeadPreset Preset
ImmutableHashSet< Identifier > TagSet
Stores information about the Character that is needed between rounds in the menu etc....
void CheckDisguiseStatus(bool handleBuff, IdCard idCard=null)
static GameSession GameSession
Color OwnerFacialHairColor
override void OnItemLoaded()
Called when all the components of the item have been loaded. Use to initialize connections between co...
IdCard(Item item, ContentXElement element)
ImmutableHashSet< Identifier > OwnerTagSet
int OwnerFaceAttachmentIndex
string OwnerNameLocalized
void Initialize(WayPoint spawnPoint, Character character)
override void Equip(Character character)
override void Unequip(Character character)
static readonly PrefabCollection< JobPrefab > Prefabs
readonly Identifier Identifier