danielstegink-DanielSteginkUtils icon

DanielSteginkUtils

Library of various helpers and utilities

Last updated a week ago
Total downloads 6845
Total rating 0 
Categories Mods Libraries
Dependency string danielstegink-DanielSteginkUtils-4.1.1
Dependants 6 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_Silksong-5.4.2304 icon
BepInEx-BepInExPack_Silksong

BepInEx modloader. Preconfigured and ready to use.

Preferred version: 5.4.2304
SFGrenade-WavLib-1.1.1 icon
SFGrenade-WavLib

Lightweight RIFF WAVE library for .NET Framework, .NET Standard and .NET Core.

Preferred version: 1.1.1

README

DanielSteginkUtils

A code library containing various helper classes and logic I've accumulated in my modding journey.

General structure

  • ExternalFiles - Utilities for interacting with external files such as AssetBundles
    • GetAssetBundle - Loads asset bundles
    • GetAudioClip - Converts audio files in embedded resources to AudioClips
    • GetSprite - Loads image files in embedded resources to Sprites
  • Helpers - Utilities for implementing common gameplay mechanics
    • DamageEnemy - Deals damage to an enemy
    • GetEnemy - Gets nearby enemies
    • GetTools - Gets a list of equipped tools
    • Needolin - Handles changes to the Needolin's sound clip
  • Loggers - Utilities specifically for logging information
    • EnemyDamagerLogger - Logs when an enemy takes damage. Has to be manually enabled via EnemyDamageLogger.Toggle
  • Utilities - Various libraries for logic and calculations
    • Calculations - Performs numeric calculations and conversions
    • ClassIntegrations - Accesses properties, fields and methods from other classes
    • Components - Deals with Unity components
    • NotchCosts - Calculates the value of different bonuses in terms of charm notches from Hollow Knight

Special Thanks

Logo by cristina233_