M_MSCLoader_PlayMakerExtensions_FsmInject__1 - piotrulos/MSCModLoader GitHub Wiki
Insert custom Action to the Playmaker
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346
C#
public static bool FsmInject<T>(
this PlayMakerFSM fsm,
string stateName,
T action,
int index = -1,
bool replace = false
)
where T : FsmStateAction
View Source
- PlayMakerFSM
- Target Playmaker
- String
- Target state name
- T
- Custom FsmStateAction
- Int32 (Optional)
- The index where to insert the action
- Boolean (Optional)
- If true, replaces the action at specified index, otherwise inserts it.
- \[Missing <typeparam name="T"/> documentation for "M:MSCLoader.PlayMakerExtensions.FsmInject``1(PlayMakerFSM,System.String,``0,System.Int32,System.Boolean)"\]
Boolean
Whether the injection was successful
In Visual Basic and C#, you can call this method as an instance method on any object of type PlayMakerFSM. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
PlayMakerExtensions Class
FsmInject Overload
MSCLoader Namespace