Steamworks 문서
ISteamMusicRemote 인터페이스
Steam 뮤직 플레이어와 직접 상호작용하도록 해줍니다.

자세한 내용은 features/music_player 문서를 참조하세요.

멤버 함수

ISteamMusicRemote의 멤버 함수는 전역 접근자 함수 SteamMusicRemote()를 통해 호출됩니다.

BActivationSuccess

bool BActivationSuccess( bool bValue );
이름종류설명
bValuebool



반환값: bool

BIsCurrentMusicRemote

bool BIsCurrentMusicRemote();


반환값: bool

CurrentEntryDidChange

bool CurrentEntryDidChange();


반환값: bool

CurrentEntryIsAvailable

bool CurrentEntryIsAvailable( bool bAvailable );
이름유형설명
bAvailablebool



반환값: bool

CurrentEntryWillChange

bool CurrentEntryWillChange();
현재 입력값

반환값: bool

DeregisterSteamMusicRemote

bool DeregisterSteamMusicRemote();


반환값: bool

EnableLooped

bool EnableLooped( bool bValue );
이름유형설명
bValuebool



반환값: bool

EnablePlaylists

bool EnablePlaylists( bool bValue );
이름유형Description
bValuebool



반환값: bool

EnablePlayNext

bool EnablePlayNext( bool bValue );
이름유형설명
bValuebool



반환값: bool

EnablePlayPrevious

bool EnablePlayPrevious( bool bValue );
이름유형설명
bValuebool

사용자 인터페이스 기능

반환값: bool

EnableQueue

bool EnableQueue( bool bValue );
이름유형설명
bValuebool



반환값: bool

EnableShuffled

bool EnableShuffled( bool bValue );
이름유형설명
bValuebool



반환값: bool

PlaylistDidChange

bool PlaylistDidChange();


반환값: bool

PlaylistWillChange

bool PlaylistWillChange();
재생 목록

반환값: bool

QueueDidChange

bool QueueDidChange();


반환값: bool

QueueWillChange

bool QueueWillChange();
대기열

반환값: bool

RegisterSteamMusicRemote

bool RegisterSteamMusicRemote( const char *pchName );
이름유형설명
pchNameconst char *

서비스 정의

반환값: bool

ResetPlaylistEntries

bool ResetPlaylistEntries();


반환값: bool

ResetQueueEntries

bool ResetQueueEntries();


반환값: bool

SetCurrentPlaylistEntry

bool SetCurrentPlaylistEntry( int nID );
이름유형설명
nIDint



반환값: bool

SetCurrentQueueEntry

bool SetCurrentQueueEntry( int nID );
이름유형설명
nIDint



반환값: bool

SetDisplayName

bool SetDisplayName( const char *pchDisplayName );
이름유형설명
pchDisplayNameconst char *



반환값: bool

SetPlaylistEntry

bool SetPlaylistEntry( int nID, int nPosition, const char *pchEntryText );
이름유형설명
nIDint
nPositionint
pchEntryTextconst char *



반환값: bool

SetPNGIcon_64x64

bool SetPNGIcon_64x64( void *pvBuffer, uint32 cbBufferLength );
이름유형설명
pvBuffervoid *
cbBufferLengthuint32



반환값: bool

SetQueueEntry

bool SetQueueEntry( int nID, int nPosition, const char *pchEntryText );
이름유형설명
nIDint
nPositionint
pchEntryTextconst char *



반환값: bool

UpdateCurrentEntryCoverArt

bool UpdateCurrentEntryCoverArt( void *pvBuffer, uint32 cbBufferLength );
이름유형설명
pvBuffervoid *
cbBufferLengthuint32



반환값: bool

UpdateCurrentEntryElapsedSeconds

bool UpdateCurrentEntryElapsedSeconds( int nValue );
이름유형설명
nValueint



반환값: bool

UpdateCurrentEntryText

bool UpdateCurrentEntryText( const char *pchText );
이름유형설명
pchTextconst char *



반환값: bool

UpdateLooped

bool UpdateLooped( bool bValue );
이름유형설명
bValuebool



반환값: bool

UpdatePlaybackStatus

bool UpdatePlaybackStatus( AudioPlayback_Status nStatus );
이름유형설명
nStatusAudioPlayback_Status

내 상태

반환값: bool

UpdateShuffled

bool UpdateShuffled( bool bValue );
이름유형설명
bValuebool



반환값: bool

UpdateVolume

bool UpdateVolume( float flValue );
이름유형설명
flValuefloat



반환값: bool

콜백

다음은 SteamAPI_RunCallbacks를 호출하여 실행할 수 있는 콜백입니다. 이들 중 대부분은 ISteamMusicRemote의 멤버 함수에 대한 응답으로 직접 실행할 수 있습니다.

MusicPlayerRemoteToFront_t



이 콜백에는 필드가 없습니다.

MusicPlayerRemoteWillActivate_t



이 콜백에는 필드가 없습니다.

MusicPlayerRemoteWillDeactivate_t



이 콜백에는 필드가 없습니다.

MusicPlayerSelectsPlaylistEntry_t



이름유형설명
nIDint

MusicPlayerSelectsQueueEntry_t



이름유형설명
nIDint

MusicPlayerWantsLooped_t



이름유형설명
m_bLoopedbool

MusicPlayerWantsPause_t



이 콜백에는 필드가 없습니다.

MusicPlayerWantsPlayingRepeatStatus_t



이름유형설명
m_nPlayingRepeatStatusint

MusicPlayerWantsPlayNext_t



이 콜백에는 필드가 없습니다.

MusicPlayerWantsPlayPrevious_t



이 콜백에는 필드가 없습니다.

MusicPlayerWantsPlay_t



이 콜백에는 필드가 없습니다.

MusicPlayerWantsShuffled_t



이름유형설명
m_bShuffledbool

MusicPlayerWantsVolume_t



이름유형설명
m_flNewVolumefloat

MusicPlayerWillQuit_t



이 콜백에는 필드가 없습니다.

상수

ISteamMusicRemote와 함께 사용하기 위해 정의된 상수입니다.

이름유형설명
k_SteamMusicNameMaxLengthint255
k_SteamMusicPNGMaxLengthint65535
STEAMMUSICREMOTE_INTERFACE_VERSIONconst char *"STEAMMUSICREMOTE_INTERFACE_VERSION001"