프로퍼티 | 타입 | 설명 | |
---|---|---|---|
LocalPlayers | IdentifiedPlayer>.Dictionary |
메소드 | 설명 | |
---|---|---|
ApplyPreferences ( ISystemPreferences preferences ) : void |
Use to apply user quality and performance preferences to the resources managed by this object.
|
|
BeginPlayerIdentification ( ) : void |
Starts listening to players A button pressed to identify them
|
|
Clear ( ) : void |
Removes resources managed by this object. Commonly used while clearing the scene.
|
|
CloseSession ( ) : void | ||
CreateLanSession ( int maxPlayers, |
Creates a local area network session it doesn't yet support multiple local players |
|
CreateSinglePlayerSession ( ) : void |
Creates a Single Player Session No network resources will be used |
|
CreateSplitScreenSession ( ) : void |
Creates a Split Screen Session Not implemented yet |
|
CreateWanSession ( int maxPlayers, |
Creates a wide area network session it doesn't yet support multiple local players |
|
EndPlayerIdentification ( ) : void |
Closes the identification process
|
|
FindSessions ( SessionType sessionType, int maxLocalPlayers, |
Sends a Find query on the network interface to look for AvailableSession instances asynchrnously
|
|
GetIdentifiedPlayer ( LogicalPlayerIndex logicalPlayerIndex ) : |
Returns the Identified player with the given logical player index
|
|
IdentifyPlayer ( |
Identifies a player
|
|
JoinSession ( |
Sends a Join query to the Session asynchronously
|
|
OnPlayerLogin ( |
Raised when a Player is identified
|
|
OnPlayerLogoff ( |
Raised when a Player logs off
|
|
OnSessionClosed ( ) : void | ||
OnSessionCreated ( ) : void |
Raised when the Session is created
|
|
OnSessionJoined ( ) : void |
Raised when the Session is joined
|
|
OnSessionsFound ( IList |
Raised when the FindSessions query ends
|
|
Unload ( ) : void |
Disposes any graphics resource used internally by this object, and removes scene resources managed by this object. Commonly used during Game.UnloadContent.
|
|
Update ( |
Updates the object and its contained resources.
|
메소드 | 설명 | |
---|---|---|
GetNextFreeLogicalPlayerIndex ( ) : LogicalPlayerIndex | ||
SessionManager ( IManagerServiceProvider sceneInterface ) : System |
Creates a new instance
|
public ApplyPreferences ( ISystemPreferences preferences ) : void | ||
preferences | ISystemPreferences | |
리턴 | void |
public abstract CreateLanSession ( int maxPlayers, |
||
maxPlayers | int | The total maximum players for this session |
sessionProperties | The SessionProperties that will be used to find this session on the network. Can be null | |
리턴 | void |
public abstract CreateSinglePlayerSession ( ) : void | ||
리턴 | void |
public abstract CreateWanSession ( int maxPlayers, |
||
maxPlayers | int | The total maximum players for this session |
sessionProperties | The SessionProperties that will be used to find this session on the network. Can be null | |
리턴 | void |
public abstract FindSessions ( SessionType sessionType, int maxLocalPlayers, |
||
sessionType | SessionType | The SessionType we're looking for |
maxLocalPlayers | int | The Maximum local players that can be added to the session used to filter sessions that have a limited number of opened public slots |
sessionProperties | The SessionProperties that will be used to filter query results. Can be null | |
리턴 | void |
public static GetIdentifiedPlayer ( LogicalPlayerIndex logicalPlayerIndex ) : |
||
logicalPlayerIndex | LogicalPlayerIndex | |
리턴 |
protected static GetNextFreeLogicalPlayerIndex ( ) : LogicalPlayerIndex | ||
리턴 | LogicalPlayerIndex |
public abstract IdentifyPlayer ( |
||
playerInput | The PlayerInput instance used by the player to identify | |
리턴 | void |
public abstract JoinSession ( |
||
availableSession | The Session we are trying to join | |
리턴 | void |
public OnPlayerLogin ( |
||
identifiedPlayer | ||
리턴 | void |
public OnPlayerLogoff ( |
||
identifiedPlayer | ||
리턴 | void |
public OnSessionsFound ( IList |
||
sessionsFound | IList |
|
리턴 | void |
protected SessionManager ( IManagerServiceProvider sceneInterface ) : System | ||
sceneInterface | IManagerServiceProvider | |
리턴 | System |
public Update ( |
||
gameTime | ||
리턴 | void |