Přidaný command a event pro otevírání a zavírání dveří

This commit is contained in:
Perry 2026-01-25 11:16:54 +01:00
parent b968b12090
commit 952aae10de
7 changed files with 87 additions and 30 deletions

View file

@ -5,7 +5,7 @@ namespace PacketLib;
public struct PlayerCommand : INetSerializable {
public static PlayerCommand SWITCH_CAM(int camId) => new(){ID = 0, Args = [camId] };
public static PlayerCommand TOGGLE_MONITOR() => new(){ID = 1, Args = []};
public static PlayerCommand TOGGLE_DOOR_OFFICE(int doorId) => new(){ID = 2, Args = [doorId]};
public int ID{ get; set; }
public bool Hideable => ID < 0;
public int[] Args{ get; private set; }