示例#1
0
 /// <summary>
 ///     Get the model for the current item and a specific character type and in a speific <see cref="EquipSlot" />.
 /// </summary>
 /// <param name="equipSlot"><see cref="EquipSlot" /> for which to get the model.</param>
 /// <param name="characterType">Character type to get the model for.</param>
 /// <param name="materialVersion">When this method returns contains the variant of the model for the current item.</param>
 /// <returns>The model for the current item and <c>characterType</c> in <c>equipSlot</c>.</returns>
 public ModelDefinition GetModel(EquipSlot equipSlot, int characterType, out Graphics.ImcVariant variant)
 {
     return(equipSlot.GetModel(PrimaryModelKey, characterType, out variant));
 }
 /// <summary>
 ///     Get the model for the current item and a specific character type and in a speific <see cref="EquipSlot" />.
 /// </summary>
 /// <param name="equipSlot"><see cref="EquipSlot" /> for which to get the model.</param>
 /// <param name="characterType">Character type to get the model for.</param>
 /// <param name="materialVersion">When this method returns contains the variant of the model for the current item.</param>
 /// <returns>The model for the current item and <c>characterType</c> in <c>equipSlot</c>.</returns>
 public ModelDefinition GetModel(EquipSlot equipSlot, int characterType, out Graphics.ImcVariant variant)
 {
     return equipSlot.GetModel(PrimaryModelKey, characterType, out variant);
 }