Difference between revisions of "FF7/Field/Script/Opcodes/F0 MUSIC"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>BukTop
(Created page with "System.Runtime.InteropServices.COMException (0x800401D0): Ошибка при вызове OpenClipboard (Исключение из HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN))...")
m (4 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
System.Runtime.InteropServices.COMException (0x800401D0): Ошибка при вызове OpenClipboard (Исключение из HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN))
+
* Opcode: '''0xF0'''
  в System.Runtime.InteropServices.ComTypes.IDataObject.GetData(FORMATETC& format, STGMEDIUM& medium)
+
* Short name: '''MUSIC'''
  в System.Windows.DataObject.OleConverter.GetDataInner(FORMATETC& formatetc, STGMEDIUM& medium)
+
* Long name: Play Music
  в System.Windows.DataObject.OleConverter.GetDataFromOleHGLOBAL(String format, DVASPECT aspect, Int32 index)
+
 
  в System.Windows.DataObject.OleConverter.GetDataFromBoundOleDataObject(String format, DVASPECT aspect, Int32 index)
+
====  Memory layout  ====
  в System.Windows.DataObject.OleConverter.GetData(String format, Boolean autoConvert, DVASPECT aspect, Int32 index)
+
 
  в System.Windows.DataObject.OleConverter.GetData(String format, Boolean autoConvert)
+
{| style="border: 1px solid black; border-collapse: collapse" border="1" cellspacing="1" cellpadding="3"
  в System.Windows.DataObject.GetData(String format, Boolean autoConvert)
+
! width="40" | 0xF0
  в System.Windows.DataObject.GetData(String format)
+
! width="40" | ''I''
  в WpfApp1.MainWindow.OnClipboardUpdate()
+
|}
 +
 
 +
====  Arguments  ====
 +
 
 +
* '''const UByte''' ''I''<nowiki>: ID for the music file that has been set in the field file. </nowiki>
 +
 
 +
====  Description  ====
 +
 
 +
Plays the music that has been defined for the field file. Multiple files of music can be set to play in one field file, so that they may be switched between during play in the field. If the argument is an index beyond the size of the list of music files set in the current field file, the game will crash.

Latest revision as of 05:19, 23 May 2019

  • Opcode: 0xF0
  • Short name: MUSIC
  • Long name: Play Music

Memory layout

0xF0 I

Arguments

  • const UByte I: ID for the music file that has been set in the field file.

Description

Plays the music that has been defined for the field file. Multiple files of music can be set to play in one field file, so that they may be switched between during play in the field. If the argument is an index beyond the size of the list of music files set in the current field file, the game will crash.