private void VehicleManager_OnVehicleChange(int senderId, bool isOnVehicle) { var param1 = _vehicleManager.Mount is null ? 0 : _vehicleManager.Mount.Type; var param2 = _vehicleManager.Mount is null ? 0 : _vehicleManager.Mount.TypeId; OnShapeChange?.Invoke(_ownerId, Shape, param1, param2); }
public static void InvokeShapeChange(LSystemController lsysController) => OnShapeChange?.Invoke(lsysController);
private void StealthManager_OnStealthChange(int senderId) { OnShapeChange?.Invoke(_ownerId, Shape, 0, 0); }