Service Class

Alteruna service class.

Definition

Namespace: Alteruna.Multiplayer.Core
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
C#
public class Service
Inheritance
Object    Service

Constructors

Properties

ApplicationID 
AvailableRooms 
CurrentRoom 
Host Indicates whether the current service instance is hosting a session.
InRoom 
IsAuthenticated Get if the project is authenticated.
IsConnected 
IsConnecting 
UserInfo 

Methods

ClosePort Closes the communication port and stops the device manager.
CreateRoom(RoomArgs) 
CreateRoom(String, UInt16, Boolean, UInt16, Boolean, Boolean) Create a new room.
Obsolete.
DestroyRoom 
DestroyRoom(Room) 
DestroyRoom(UInt32) 
GetLastBlockResponse 
JoinMatchmaking Join a Room through matchmaking.
JoinMatchmaking(UInt16) Join a Room through matchmaking using a pin.
JoinOnDemandRoom Create and Join a Room. The Room will close when the last player leaves the room.
JoinOnDemandRoom(UInt32) Join Room by id. The Room will close when the last player leaves the room.
JoinRoom(Room) Joins the specified room within the current multiplayer session.
JoinRoom(Room, UInt16) Joins the specified room using the provided PIN for authentication.
KickUser Kick user from current room.
LeaveCurrentRoom Send to leave request to current room.
LockRoom Lock current room.
OnSessionCreated 
OpenPort Opens the communication port and initializes the device manager with the specified settings.
RefreshAvailableRooms Refresh Available Rooms using
RefreshAvailableRooms(ServiceRefreshAvailableRoomsMode, ServiceRefreshAvailableRoomsArgs) Refresh the AvailableRooms list containing the currently available Rooms on the server.
SetRoomName Rename currently joined room.
SetUsername Sets the username for the current user in the multiplayer system.
Start 
StartRemoteServer 
UnlockRoom Unlock current room.
Update 
VerifyApplicationID(Guid, LogBase) 
VerifyApplicationID(String, LogBase) 

Fields

See Also