Struct EquippedItemEntry
One occupied equipment slot, as presented to the character select screen.
[Serializable]
public struct EquippedItemEntry
- Inherited Members
Remarks
An array of these rather than a Dictionary<int, int>, which is what this
replaced. FishNet has no built-in serializer for a dictionary, so that field could never
have reached the client as written — it would have needed one registered through
NetworkManager.Serializer.RegisterSerializerType first. An array of a serializable
struct is handled by codegen with nothing registered, and the slot doubles as the key, so
the dictionary bought nothing the array does not already give.
Only occupied slots appear. An absent slot is an empty one; there is no entry meaning "nothing here".
Fields
Slot
Which slot this describes.
public ItemSlot Slot
Field Value
TemplateID
Template ID of the item in that slot. Never 0 for an entry that exists.
public int TemplateID