@@ -20,7 +20,6 @@ public static class BrioAPI
20
20
private static ICallGateSubscriber < bool , bool , bool , Task < IGameObject ? > > Actor_SpawnExAsync_IPC ;
21
21
22
22
private static ICallGateSubscriber < IGameObject , bool > Actor_DespawnActor_Ipc ;
23
- private static ICallGateSubscriber < IGameObject , Task < bool > > Actor_DespawnActorAsync_Ipc ;
24
23
25
24
private static ICallGateSubscriber < IGameObject , Vector3 ? , Quaternion ? , Vector3 ? , bool , bool > Actor_SetModelTransform_IPC ;
26
25
private static ICallGateSubscriber < IGameObject , ( Vector3 ? , Quaternion ? , Vector3 ? ) > Actor_GetModelTransform_IPC ;
@@ -62,7 +61,6 @@ public static void InitBrioAPI(IDalamudPluginInterface pluginInterface)
62
61
Actor_SpawnExAsync_IPC = pluginInterface . GetIpcSubscriber < bool , bool , bool , Task < IGameObject ? > > ( "Brio.Actor.SpawnExAsync" ) ;
63
62
64
63
Actor_DespawnActor_Ipc = pluginInterface . GetIpcSubscriber < IGameObject , bool > ( "Brio.Actor.Despawn" ) ;
65
- Actor_DespawnActorAsync_Ipc = pluginInterface . GetIpcSubscriber < IGameObject , Task < bool > > ( "Brio.Actor.DespawnAsync" ) ;
66
64
67
65
Actor_SetModelTransform_IPC = pluginInterface . GetIpcSubscriber < IGameObject , Vector3 ? , Quaternion ? , Vector3 ? , bool , bool > ( "Brio.Actor.SetModelTransform" ) ;
68
66
Actor_GetModelTransform_IPC = pluginInterface . GetIpcSubscriber < IGameObject , ( Vector3 ? , Quaternion ? , Vector3 ? ) > ( "Brio.Actor.GetModelTransform" ) ;
@@ -146,18 +144,6 @@ public static bool DespawnActor(IGameObject actorToDespawn)
146
144
return Actor_DespawnActor_Ipc . InvokeFunc ( actorToDespawn ) ;
147
145
}
148
146
149
- /// <summary>
150
- /// Despawns an actor asynchronously.
151
- /// </summary>
152
- /// <param name="actorToDespawn">The actor to despawn.</param>
153
- /// <returns>True if the actor was successfully despawned, otherwise false.</returns>
154
- public static Task < bool > DespawnActorAsync ( IGameObject actorToDespawn )
155
- {
156
- if ( hasInit is false ) throw new Exception ( "Call BrioAPI.InitBrioAPI first!" ) ;
157
-
158
- return Actor_DespawnActorAsync_Ipc . InvokeFunc ( actorToDespawn ) ;
159
- }
160
-
161
147
/// <summary>
162
148
/// Sets the model transform of an actor.
163
149
/// </summary>
0 commit comments