-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Auros/SiraUtil
- Loading branch information
Showing
10 changed files
with
177 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
SiraUtil/Objects/Multiplayer/ConnectedPlayerDuelRegistration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
|
||
namespace SiraUtil.Objects.Multiplayer | ||
{ | ||
/// <summary> | ||
/// Registers a redecorator for the connected player in the duel. | ||
/// </summary> | ||
public sealed class ConnectedPlayerDuelRegistration : TemplateRedecoratorRegistration<MultiplayerConnectedPlayerFacade, MultiplayerPlayersManager> | ||
{ | ||
/// <summary> | ||
/// Creates a new redecorator registration. | ||
/// </summary> | ||
/// <param name="redecorateCall">This is called when the object is being redecorated.</param> | ||
/// <param name="priority">The redecoration priority.</param> | ||
/// <param name="chain">Whether to chain this redecoration with others. Every redecoration is now aggregated. | ||
/// The chain will start if the highest priority object has chaining enabled and will stop once a registration | ||
/// in the aggregate has chaining disabled.</param> | ||
public ConnectedPlayerDuelRegistration(Func<MultiplayerConnectedPlayerFacade, MultiplayerConnectedPlayerFacade> redecorateCall, int priority = 0, bool chain = true) : base("_connectedPlayerDuelControllerPrefab", redecorateCall, priority, chain) { } | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
SiraUtil/Objects/Multiplayer/ConnectedPlayerRegistration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
|
||
namespace SiraUtil.Objects.Multiplayer | ||
{ | ||
/// <summary> | ||
/// Registers a redecorator for the connected player. | ||
/// </summary> | ||
public sealed class ConnectedPlayerRegistration : TemplateRedecoratorRegistration<MultiplayerConnectedPlayerFacade, MultiplayerPlayersManager> | ||
{ | ||
/// <summary> | ||
/// Creates a new redecorator registration. | ||
/// </summary> | ||
/// <param name="redecorateCall">This is called when the object is being redecorated.</param> | ||
/// <param name="priority">The redecoration priority.</param> | ||
/// <param name="chain">Whether to chain this redecoration with others. Every redecoration is now aggregated. | ||
/// The chain will start if the highest priority object has chaining enabled and will stop once a registration | ||
/// in the aggregate has chaining disabled.</param> | ||
public ConnectedPlayerRegistration(Func<MultiplayerConnectedPlayerFacade, MultiplayerConnectedPlayerFacade> redecorateCall, int priority = 0, bool chain = true) : base("_connectedPlayerControllerPrefab", redecorateCall, priority, chain) { } | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
SiraUtil/Objects/Multiplayer/LobbyAvatarPlaceRegistration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
|
||
namespace SiraUtil.Objects.Multiplayer | ||
{ | ||
/// <summary> | ||
/// Registers a redecorator for the lobby avatar place. | ||
/// </summary> | ||
public sealed class LobbyAvatarPlaceRegistration : TemplateRedecoratorRegistration<MultiplayerLobbyAvatarPlace, MultiplayerLobbyInstaller> | ||
{ | ||
/// <summary> | ||
/// Creates a new redecorator registration. | ||
/// </summary> | ||
/// <param name="redecorateCall">This is called when the object is being redecorated.</param> | ||
/// <param name="priority">The redecoration priority.</param> | ||
/// <param name="chain">Whether to chain this redecoration with others. Every redecoration is now aggregated. | ||
/// The chain will start if the highest priority object has chaining enabled and will stop once a registration | ||
/// in the aggregate has chaining disabled.</param> | ||
public LobbyAvatarPlaceRegistration(Func<MultiplayerLobbyAvatarPlace, MultiplayerLobbyAvatarPlace> redecorateCall, int priority = 0, bool chain = true) : base("_multiplayerAvatarPlacePrefab", redecorateCall, priority, chain) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
|
||
namespace SiraUtil.Objects.Multiplayer | ||
{ | ||
/// <summary> | ||
/// Registers a redecorator for the lobby avatar controller. | ||
/// </summary> | ||
public sealed class LobbyAvatarRegistration : TemplateRedecoratorRegistration<MultiplayerLobbyAvatarController, MultiplayerLobbyInstaller> | ||
{ | ||
/// <summary> | ||
/// Creates a new redecorator registration. | ||
/// </summary> | ||
/// <param name="redecorateCall">This is called when the object is being redecorated.</param> | ||
/// <param name="priority">The redecoration priority.</param> | ||
/// <param name="chain">Whether to chain this redecoration with others. Every redecoration is now aggregated. | ||
/// The chain will start if the highest priority object has chaining enabled and will stop once a registration | ||
/// in the aggregate has chaining disabled.</param> | ||
public LobbyAvatarRegistration(Func<MultiplayerLobbyAvatarController, MultiplayerLobbyAvatarController> redecorateCall, int priority = 0, bool chain = true) : base("_multiplayerLobbyAvatarControllerPrefab", redecorateCall, priority, chain) { } | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
SiraUtil/Objects/Multiplayer/LocalActivePlayerDuelRegistration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
|
||
namespace SiraUtil.Objects.Multiplayer | ||
{ | ||
/// <summary> | ||
/// Registers a redecorator for the active local player in the duel environment. | ||
/// </summary> | ||
public sealed class LocalActivePlayerDuelRegistration : TemplateRedecoratorRegistration<MultiplayerLocalActivePlayerFacade, MultiplayerPlayersManager> | ||
{ | ||
/// <summary> | ||
/// Creates a new redecorator registration. | ||
/// </summary> | ||
/// <param name="redecorateCall">This is called when the object is being redecorated.</param> | ||
/// <param name="priority">The redecoration priority.</param> | ||
/// <param name="chain">Whether to chain this redecoration with others. Every redecoration is now aggregated. | ||
/// The chain will start if the highest priority object has chaining enabled and will stop once a registration | ||
/// in the aggregate has chaining disabled.</param> | ||
public LocalActivePlayerDuelRegistration(Func<MultiplayerLocalActivePlayerFacade, MultiplayerLocalActivePlayerFacade> redecorateCall, int priority = 0, bool chain = true) : base("_activeLocalPlayerDuelControllerPrefab", redecorateCall, priority, chain) { } | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
SiraUtil/Objects/Multiplayer/LocalActivePlayerRegistration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
|
||
namespace SiraUtil.Objects.Multiplayer | ||
{ | ||
/// <summary> | ||
/// Registers a redecorator for the active local player. | ||
/// </summary> | ||
public sealed class LocalActivePlayerRegistration : TemplateRedecoratorRegistration<MultiplayerLocalActivePlayerFacade, MultiplayerPlayersManager> | ||
{ | ||
/// <summary> | ||
/// Creates a new redecorator registration. | ||
/// </summary> | ||
/// <param name="redecorateCall">This is called when the object is being redecorated.</param> | ||
/// <param name="priority">The redecoration priority.</param> | ||
/// <param name="chain">Whether to chain this redecoration with others. Every redecoration is now aggregated. | ||
/// The chain will start if the highest priority object has chaining enabled and will stop once a registration | ||
/// in the aggregate has chaining disabled.</param> | ||
public LocalActivePlayerRegistration(Func<MultiplayerLocalActivePlayerFacade, MultiplayerLocalActivePlayerFacade> redecorateCall, int priority = 0, bool chain = true) : base("_activeLocalPlayerControllerPrefab", redecorateCall, priority, chain) { } | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
SiraUtil/Objects/Multiplayer/LocalInactivePlayerRegistration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
|
||
namespace SiraUtil.Objects.Multiplayer | ||
{ | ||
/// <summary> | ||
/// Registers a redecorator for the inactive local player. | ||
/// </summary> | ||
public sealed class LocalInactivePlayerRegistration : TemplateRedecoratorRegistration<MultiplayerLocalInactivePlayerFacade, MultiplayerPlayersManager> | ||
{ | ||
/// <summary> | ||
/// Creates a new redecorator registration. | ||
/// </summary> | ||
/// <param name="redecorateCall">This is called when the object is being redecorated.</param> | ||
/// <param name="priority">The redecoration priority.</param> | ||
/// <param name="chain">Whether to chain this redecoration with others. Every redecoration is now aggregated. | ||
/// The chain will start if the highest priority object has chaining enabled and will stop once a registration | ||
/// in the aggregate has chaining disabled.</param> | ||
public LocalInactivePlayerRegistration(Func<MultiplayerLocalInactivePlayerFacade, MultiplayerLocalInactivePlayerFacade> redecorateCall, int priority = 0, bool chain = true) : base("_inactiveLocalPlayerControllerPrefab", redecorateCall, priority, chain) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
using IPA.Utilities; | ||
using SiraUtil.Affinity; | ||
using SiraUtil.Affinity; | ||
|
||
namespace SiraUtil.Tools.FPFC | ||
{ | ||
|