示例#1
0
        public void BroadcastToggleEngineState(NitroxId id, bool isOn, bool isStarting)
        {
            vehicles.GetVehicles <CyclopsModel>(id).EngineState = isStarting;
            CyclopsToggleEngineState packet = new CyclopsToggleEngineState(id, isOn, isStarting);

            packetSender.Send(packet);
        }
示例#2
0
        public void ToggleEngineState(string guid, bool isOn, bool isStarting)
        {
            CyclopsToggleEngineState packet = new CyclopsToggleEngineState(guid, isOn, isStarting);

            packetSender.Send(packet);
        }