‪PICO Unity Platform SDK
Pico.Platform.RoomOptions Class Reference

Public Member Functions

void SetDataStore (string key, string value)
 ‪Sets the data store for a room. More...
 
void ClearDataStore ()
 ‪Clears the data store for a room. More...
 
void SetExcludeRecentlyMet (bool value)
 ‪Sets whether to exclude recently-met users. More...
 
void SetMaxUserResults (uint value)
 ‪Sets the maximum number of users to return. More...
 
void SetRoomId (UInt64 value)
 ‪Sets a room ID. More...
 
void SetTurnOffUpdates (bool value)
 ‪Enables/Disables the update of room data. More...
 
IntPtr GetHandle ()
 

Static Public Member Functions

static operator IntPtr (RoomOptions roomOptions)
 ‪For passing to native C.
 

Member Function Documentation

◆ SetDataStore()

void Pico.Platform.RoomOptions.SetDataStore ( string  key,
string  value 
)

‪Sets the data store for a room.

Parameters
key‪A unique identifier that maps to a value.
value‪The data.

◆ ClearDataStore()

void Pico.Platform.RoomOptions.ClearDataStore ( )

‪Clears the data store for a room.

◆ SetExcludeRecentlyMet()

void Pico.Platform.RoomOptions.SetExcludeRecentlyMet ( bool  value)

‪Sets whether to exclude recently-met users.

Parameters
value
  • true: exclude
  • false: not exclude

◆ SetMaxUserResults()

void Pico.Platform.RoomOptions.SetMaxUserResults ( uint  value)

‪Sets the maximum number of users to return.

Parameters
value‪The maximum number of users to return.

◆ SetRoomId()

void Pico.Platform.RoomOptions.SetRoomId ( UInt64  value)

‪Sets a room ID.

Note
‪Only available to GetInvitableUsers2.
Parameters
value‪The room ID.

◆ SetTurnOffUpdates()

void Pico.Platform.RoomOptions.SetTurnOffUpdates ( bool  value)

‪Enables/Disables the update of room data.

Parameters
value
  • true: enable
  • false: disable