Data structure
The SNS setup is in the Sns part of the database for the characters, colors, room and basic talk settings,
then in the message_room_text loaded in the SNSRoomTextDatabase for the content of each talk.
Datas in SNSRoomTextDatabase
Section titled “Datas in SNSRoomTextDatabase”The data in the SNSRoomTextDatabase are loaded in the SNSRoomTextData class. This class contain
a list of header, a list of talk datas and a list of messages.
Header
Section titled “Header”The header data use the class SNSRoomTextData.Header
talkId
Section titled “talkId”An id used to retrieve the header. The AJIDLAGFPGM_TalkId member in the Sns DB refer to this.
startIndex / endIndex
Section titled “startIndex / endIndex”Start and end (inclusive) index of the data in the talk data array.
headMessageIndex
Section titled “headMessageIndex”Not used in code, looks like refering to a talk title.
Talk Data
Section titled “Talk Data”The talk data use the class SNSRoomTextData.TalkData
charaId
Section titled “charaId”The character id of the speaker. Refer to the Sns database KHCACDIKJLG_Characters list.
windowShapeId
Section titled “windowShapeId”Shape of the dialog text window.
windowSizeId
Section titled “windowSizeId”Size of the dialog text window.
messageIndex
Section titled “messageIndex”Message index in the message list.
timeOffset
Section titled “timeOffset”Time delay to show after the pervious text in seconds.