The documentation can be found at https://github.com/boformer/CustomEffectLoader/blob/master/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:architecture_playground/home_page.dart'; | |
import 'package:architecture_playground/services.dart'; | |
import 'package:flutter/material.dart'; | |
void main() async { | |
// perform long-running tasks before "runApp" to display the native splash screen | |
final services = await Services.initialize(); | |
runApp(ServicesProvider( | |
services: services, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using ColossalFramework.IO; | |
using ICities; | |
using UnityEngine; | |
/// <summary> | |
/// A simple example how to save custom data in savegames. | |
/// This uses 3 components: | |
/// | |
/// 1. SerializableDataExtensionBase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ICities; | |
namespace CityBeautifier | |
{ | |
public class CityBeautifierMod : IUserMod | |
{ | |
public string Name => "City Beautifier"; | |
public string Description => "Removes some ugly props"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright (c) 2015, Max Stark <max.stark88@web.de> | |
All rights reserved. | |
This file is part of ControlBuildingLevelUpMod, which is free | |
software: you can redistribute it and/or modify it under the terms | |
of the GNU General Public License as published by the Free | |
Software Foundation, either version 2 of the License, or (at your | |
option) any later version. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ColossalFramework; | |
using ColossalFramework.UI; | |
using ICities; | |
using UnityEngine; | |
namespace HistoricalDistricts | |
{ | |
public class HistoricalDistrictsMod : IUserMod | |
{ | |
public string Name => "Historical Districts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<EffectsDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<Effects> | |
<LightEffect | |
name="boformer.MY CUSTOM EFFECT" | |
type="Spot" | |
intensity="6.2" | |
range="500" | |
spotAngle="10" | |
spotLeaking="0.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ColossalFramework.IO; | |
using ColossalFramework.Packaging; | |
using ColossalFramework.UI; | |
using ICities; | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.IO; | |
using System.Xml.Serialization; | |
using UnityEngine; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2022 Felix Schmidt | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ICities; | |
using System; | |
using ColossalFramework.PlatformServices; | |
using ColossalFramework.Plugins; | |
namespace HarmonyMod { | |
public class Mod : IUserMod { | |
// You can add Harmony 1.2.0.8 as a dependency, but make sure that 0Harmony.dll is not copied to the output directory! | |
// (0Harmony.dll is provided by CitiesHarmony workshop item) |
NewerOlder