fix: include image in preview
This commit is contained in:
parent
d3eb675e49
commit
64b1f5b415
@ -35,7 +35,7 @@ public class Configuration : IPluginConfiguration {
|
|||||||
[Evaluation.Poor] = 0.25f,
|
[Evaluation.Poor] = 0.25f,
|
||||||
[Evaluation.Awful] = 0f,
|
[Evaluation.Awful] = 0f,
|
||||||
};
|
};
|
||||||
public int EvaluationMinCombatants;
|
public int EvaluationMinCombatants = 4;
|
||||||
public int EvaluationMinSameRole;
|
public int EvaluationMinSameRole;
|
||||||
public Dictionary<Guid, bool> EvaluatorsRandomEnabled = Evaluator.Evaluators.ToDictionary(
|
public Dictionary<Guid, bool> EvaluatorsRandomEnabled = Evaluator.Evaluators.ToDictionary(
|
||||||
e => e.Id,
|
e => e.Id,
|
||||||
|
@ -161,10 +161,11 @@ public class PluginUi : IDisposable {
|
|||||||
var msg = evaluator.GetLineFor(evaluation, this.Plugin.Config.BlendEvaluations, Random.Shared.Next(1, 8));
|
var msg = evaluator.GetLineFor(evaluation, this.Plugin.Config.BlendEvaluations, Random.Shared.Next(1, 8));
|
||||||
if (msg != null) {
|
if (msg != null) {
|
||||||
unsafe {
|
unsafe {
|
||||||
UIModule.Instance()->ShowBattleTalk(
|
UIModule.Instance()->ShowBattleTalkImage(
|
||||||
Encoding.UTF8.GetBytes(evaluator.Name),
|
Encoding.UTF8.GetBytes(evaluator.Name),
|
||||||
msg.EncodeWithNullTerminator(),
|
msg.EncodeWithNullTerminator(),
|
||||||
this.Plugin.Config.EvaluationLength,
|
this.Plugin.Config.EvaluationLength,
|
||||||
|
evaluator.BattleTalkImage,
|
||||||
6
|
6
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user