Interface IPlayerFixesData.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface IPlayerFixesData.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
ApplyAnimation(IPlayer, IActor, AnimationData)
Applies an animation to the player or actor.
void ApplyAnimation(IPlayer player, IActor actor, AnimationData animation)
Parameters
playerIPlayerThe player to apply the animation to.
actorIActorThe actor to apply the animation to.
animationAnimationDataThe animation data to apply.
GetGameText(int, out string?, out TimeSpan, out TimeSpan)
Gets information about the game text at the specified style/slot.
bool GetGameText(int style, out string? message, out TimeSpan time, out TimeSpan remaining)
Parameters
styleintThe display style/slot to query.
messagestringWhen the method returns, contains the message text.
timeTimeSpanWhen the method returns, contains the total display time.
remainingTimeSpanWhen the method returns, contains the remaining display time.
Returns
- bool
trueif information was retrieved successfully; otherwise,false.
HasGameText(int)
Checks if the player has active game text at the specified style/slot.
bool HasGameText(int style)
Parameters
styleintThe display style/slot to check.
Returns
- bool
trueif there is active game text at that slot; otherwise,false.
HideGameText(int)
Hides game text for the player.
bool HideGameText(int style)
Parameters
styleintThe display style/slot to hide.
Returns
- bool
trueif successful; otherwise,false.
SendGameText(string, TimeSpan, int)
Sends game text to the player.
bool SendGameText(string message, TimeSpan time, int style)
Parameters
messagestringThe message to display.
timeTimeSpanHow long to display the message.
styleintThe display style/slot for the game text.
Returns
- bool
trueif successful; otherwise,false.