public MainClient()
        {
            VehicleModule.Init(this);

            AddEventHandler("playerSpawned", new Action(OnSpawn));
            Logger.LogDebug($"Client successfully initialized all Modules.");
        }
Esempio n. 2
0
 public override void SetModule(VehicleModule module)
 {
     this.module = module as FuelModule;
 }
Esempio n. 3
0
 public override void SetModule(VehicleModule module)
 {
     this.module = module as MetricsModule;
 }
Esempio n. 4
0
 public override void SetModule(VehicleModule module)
 {
     this.module = module as TrailerHitchModule;
 }
Esempio n. 5
0
 public override void SetModule(VehicleModule module)
 {
     this.module = module as ModuleTemplate;
 }
Esempio n. 6
0
 public override void SetModule(VehicleModule module)
 {
     this.module = module as SpeedLimiterModule;
 }
Esempio n. 7
0
 public override void SetModule(VehicleModule module)
 {
     this.module = module as CruiseControlModule;
 }
Esempio n. 8
0
 public override void SetModule(VehicleModule module)
 {
     this.module = module as AerodynamicsModule;
 }
Esempio n. 9
0
 public override void SetModule(VehicleModule module)
 {
     this.module = module as RiggingModule;
 }