Ruyi SDK
Namespaces
Ruyi.SDK.Online
Player(T) Class
Player(T) Constructor
Player(T) Properties
Player(T) Methods
Click or drag to resizeClick or drag to resize

PlayerT Class

[This is preliminary documentation and is subject to change.]

Represents a single player.
Inheritance Hierarchy
SystemObject
  Ruyi.SDK.OnlinePlayerT
    Ruyi.SDK.OnlinePlayer

Namespace:  Ruyi.SDK.Online
Assembly:  SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public class Player<T> : ISupportPartialPlay, ISupportPartialUpdate

Type Parameters

T
The type to use as a player ID.

The PlayerT type exposes the following members.

Constructors
  NameDescription
Public methodPlayerT(T)
Construct a player.
Public methodPlayerT(T, Double)
Construct a player with a partial play.
Public methodPlayerT(T, Double, Double)
Construct a player with a partial play and partial update.
Top
Properties
  NameDescription
Public propertyId
The ID of the player.
Public propertyPartialPlayPercentage
The player's partial play percentage.
Public propertyPartialUpdatePercentage
The player's partial update percentage.
Top
Methods
  NameDescription
Public methodToString
Convert the player to a string.
(Overrides ObjectToString.)
Top
See Also

Reference

Ruyi.SDK.Online Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com