コード例 #1
0
ファイル: DialogDisplayer.cs プロジェクト: Hansrutger/GT-MP
 public ShowTextInput(Client player)
 {
     DBXHandler.ShowDialog(player, "dbx_text_input", "passwordinput", "Password",
                           "This dialog will be censored, please input some random word:",
                           3, "Button 0", "Button 1", "Button 2",
                           true
                           );
 }
コード例 #2
0
ファイル: DialogDisplayer.cs プロジェクト: Hansrutger/GT-MP
 public ShowOptionScroll(Client player)
 {
     DBXHandler.ShowDialog(player, "dbx_option_scroll", "optionscroll", "Select in Selection",
                           "This dialog will display the options openly, please select one and then continue.",
                           3, "Button 0", "Button 1", "Button 2",
                           "Option 0",
                           "Option 1",
                           "Option 2",
                           "Option 3",
                           "Option 4",
                           "Option 5",
                           "Option 6",
                           "Option 7",
                           "Option 8",
                           "Option 9",
                           "Option 10",
                           "Option 11",
                           "Option 12",
                           "Option 13",
                           "Option 14",
                           );
 }
コード例 #3
0
ファイル: DialogDisplayer.cs プロジェクト: Hansrutger/GT-MP
 public ShowOptionDropdown(Client player)
 {
     DBXHandler.ShowDialog(player, "dbx_option_dropdown", "optiondropdown", "Select in Dropdown",
                           "This dialog will show the options only when you hover over the dropdown.",
                           3, "Button 0", "Button 1", "Button 2",
                           "Option 0",
                           "Option 1",
                           "Option 2",
                           "Option 3",
                           "Option 4",
                           "Option 5",
                           "Option 6",
                           "Option 7",
                           "Option 8",
                           "Option 9",
                           "Option 10",
                           "Option 11",
                           "Option 12",
                           "Option 13",
                           "Option 14",
                           );
 }
コード例 #4
0
ファイル: DialogDisplayer.cs プロジェクト: Hansrutger/GT-MP
 public ShowTextScroll(Client player)
 {
     DBXHandler.ShowDialog(player, "dbx_text_scroll", "useragreement", "EULA",
                           "Please read through the text below and accept the conditions to proceed.",
                           1, "I understand and agree!",
                           "The user, also known as \"you\" the reader, will",
                           "follow the rules stated at website/rules. The",
                           "context, and therefore contract, may change",
                           "at any unnotified time and place and should",
                           "therefore be read occassionally.",
                           " ",
                           "Failture to follow the rules and guidelines",
                           "explained at website/rules may result in",
                           "closing of your account. At any moment your",
                           "account may be suspended without any",
                           "formal notice.",
                           " ",
                           "Your account is your responsibility and is",
                           "your property which is allowed ownership",
                           "over to you by this server's staff management",
                           "and may be revoked at any time."
                           );
 }