/// <summary> /// Retrieves the flags of the specified slot. /// </summary> /// <param name="slot">Index of the slot</param> /// <returns>The slot flags, or 0 if specified slot is not valid.</returns> public EntitySlotFlags GetSlotFlags(int slot = 0) { return(NativeEntityMethods.GetSlotFlags(this.GetIEntity(), slot)); }