using System.Collections.Generic;
using LFS_External;
namespace LFS_External_Client
{
/// <summary>
/// PLayer Cars.
/// </summary>
/// <remarks>
/// You can send a packet to limit the cars that can be used by a given connection.
/// The resulting set of selectable cars is a subset of the cars set to be available
/// on the host (by the /cars command).
/// </remarks>
public class IS_PLC : Packets
{
/// <summary>
/// Gets the size of the packet.
/// </summary>
public byte Size { get; set; }
/// <summary>
/// Gets the type of the packet.
/// </summary>
public byte Type { get; private set; }
/// <summary>
/// Gets or sets the request ID.
/// </summary>
public byte ReqI { get; set; }
public byte PacketWriter { get; set; }
/// <summary>
/// Gets or sets the unique ID of the connection on which to limit the cars.
/// </summary>
public byte UCID { get; set; }
/// <summary>
/// Gets or sets the cars to limit.
/// </summary>
public IEnumerable<clsConnection> Connections { get; }
public CarFlags.CarFlag Cars { get; set; }
/// <summary>
/// Creates a new <see cref="IS_PLC"/> packet.
/// </summary>
public IS_PLC() {
foreach (clsConnection Conn in Connections)
{
Size = 12;
UCID = Conn.UniqueID;
Cars = CarFlags.CarFlag.UF1;
}
}
}
}
===========================================================================================================
I have another license here, S2 license, and i need help, because my server need this packet...
I try various times, but i not have response.
Dont have nothing error, only dont have results...
I need help pleeasseeeee!
using LFS_External;
namespace LFS_External_Client
{
/// <summary>
/// PLayer Cars.
/// </summary>
/// <remarks>
/// You can send a packet to limit the cars that can be used by a given connection.
/// The resulting set of selectable cars is a subset of the cars set to be available
/// on the host (by the /cars command).
/// </remarks>
public class IS_PLC : Packets
{
/// <summary>
/// Gets the size of the packet.
/// </summary>
public byte Size { get; set; }
/// <summary>
/// Gets the type of the packet.
/// </summary>
public byte Type { get; private set; }
/// <summary>
/// Gets or sets the request ID.
/// </summary>
public byte ReqI { get; set; }
public byte PacketWriter { get; set; }
/// <summary>
/// Gets or sets the unique ID of the connection on which to limit the cars.
/// </summary>
public byte UCID { get; set; }
/// <summary>
/// Gets or sets the cars to limit.
/// </summary>
public IEnumerable<clsConnection> Connections { get; }
public CarFlags.CarFlag Cars { get; set; }
/// <summary>
/// Creates a new <see cref="IS_PLC"/> packet.
/// </summary>
public IS_PLC() {
foreach (clsConnection Conn in Connections)
{
Size = 12;
UCID = Conn.UniqueID;
Cars = CarFlags.CarFlag.UF1;
}
}
}
}
===========================================================================================================
I have another license here, S2 license, and i need help, because my server need this packet...
I try various times, but i not have response.
Dont have nothing error, only dont have results...
I need help pleeasseeeee!