Files
Cielonos/Assets/Scripts/MainGame/Rewards/CombatRewardSpawnRequest.cs
SoulliesOfficial 39b43680a9 爆更
2026-07-18 03:16:20 -04:00

27 lines
917 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Collections.Generic;
using UnityEngine;
namespace Cielonos.MainGame.Rewards
{
/// <summary>
/// 请求 ZoneManager 生成 Combat 交互奖励时使用的位置约束。
/// spawnGroup 决定使用哪组点位spawnIndex/occupiedPositions 用于让多个奖励错开摆放。
/// </summary>
public readonly struct CombatRewardSpawnRequest
{
public readonly string spawnGroup;
public readonly int spawnIndex;
public readonly float spacing;
public readonly IReadOnlyList<Vector3> occupiedPositions;
public CombatRewardSpawnRequest(string spawnGroup, int spawnIndex, float spacing,
IReadOnlyList<Vector3> occupiedPositions)
{
this.spawnGroup = spawnGroup;
this.spawnIndex = spawnIndex;
this.spacing = spacing;
this.occupiedPositions = occupiedPositions;
}
}
}