2024-02-11 22:23:13 +00:00
|
|
|
|
namespace GameServer.Models;
|
|
|
|
|
internal class FormationModel
|
|
|
|
|
{
|
|
|
|
|
public int[] RoleIds { get; }
|
|
|
|
|
|
|
|
|
|
public FormationModel()
|
|
|
|
|
{
|
|
|
|
|
RoleIds = new int[3];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Set(int[] roleIds)
|
|
|
|
|
{
|
2024-02-22 14:15:26 +00:00
|
|
|
|
for (int i = 0; i < roleIds.Length; i++)
|
2024-02-11 22:23:13 +00:00
|
|
|
|
{
|
|
|
|
|
RoleIds[i] = roleIds[i];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|