Class SubscriptionEventArgs
- Namespace
- Bannerlord.ButterLib.DelayedSubModule
- Assembly
- Bannerlord.ButterLib.dll
A container class for the arguments of the events, that are added to the MBSubModuleBase public and protected method calls.
public class SubscriptionEventArgs : EventArgs
- Inheritance
-
SubscriptionEventArgs
- Inherited Members
Remarks
These Events are injected via Harmony patching of the respective methods with HarmonyLib.HarmonyPatchType.Prefix and HarmonyLib.HarmonyPatchType.Postfix.
Constructors
SubscriptionEventArgs(bool)
Initializes a new instance of the SubscriptionGlobalEventArgs class with the supplied values.
public SubscriptionEventArgs(bool isBase)
Parameters
isBase
boolAn indicator that the underlying virtual implementation of the MBSubModuleBase method was called, not a derived class override.
Properties
IsBase
An indicator that the underlying virtual implementation of the MBSubModuleBase method was called, not a derived class override.
public bool IsBase { get; }
Property Value
- bool
true, if base MBSubModuleBase virtual method was called.
false, if corresponding override method of the derived class specified in Type was called.
This page was last modified at 02/05/2024 21:56:37 +02:00 (UTC).
Commit Message
Author: Vitalii Mikhailov
Commit: de40919fd63ba363031c633e84090eb52a8c42d6
File scoped namespaces