tModLoader

tModLoader

Not enough ratings
Shimmer Transform Lib
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Library
Mod Side: Both
tModLoader Version: 1.4.4
Language: English
File Size
Posted
28.810 KB
Jun 21 @ 12:57am
1 Change Note ( view )

Subscribe to download
Shimmer Transform Lib

Description
Shimmer Transform Lib

by Nil256

----------------------------------------

Note that this mod is library, not adds any contents.

In this mod, There are 1 interface, ICustomShimmerTransform and 1 class, GlobalShimmerTransform to modify Shimmer transform.

----------------------------------------

< ICustomShimmerTransform >

This interface serves as a place for you to place your custom Shimmer transform and hooks for each modded item.
To use it, delegate to your class deriving from ModItem.
Note that hooks of this interface ignore about ItemID.Sets.ShimmerCountsAsItem".

bool? CanShimmer();
IEnumerable<Item> SetShimmerTransformResult(ref int, ref bool);
void SpecialShimmerEffect();
void PostShimmered(IReadOnlyList<Item>) { }

----------------------------------------

< GlobalShimmerTransform >

This class allows you to modify and use hooks for all Shimmer transform, both vanilla items and modded items.
To use it, simply create a new class deriving from this one.

bool IsLoadingEnabled(Mod)
void Load()
void Unload()
bool? CanShimmer(int, Item)
IEnumerable<Item> AddShimmerTransformResult(int, Item, ref int, ref bool)
void ModifyShimmerTransformResult(int, Item, ShimmerTransformResult, IReadOnlyDictionary<string, ShimmerTransformResult>)
void SpecialShimmerEffect(int, Item)
void PostShimmered(int, IReadOnlyList<Item>)

----------------------------------------

There is a mod "Shimmer Transform Lib Example" for example how to use this mod.

----------------------------------------

< Release Notes >

= ver 1.0 =
- Released.
Originally posted by tModLoader ShimmerTransformLib:
Developed By Nil256