Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
OverlaySocialModule.cs
Go to the documentation of this file.
1using Steamworks;
3
5
7{
8 private Callback<GamepadTextInputDismissed_t> _gamepadTextInputDismissed;
9
11
12 public override void Initialize()
13 {
14 _gamepadTextInputDismissed = Callback<GamepadTextInputDismissed_t>.Create((DispatchDelegate<GamepadTextInputDismissed_t>)OnGamepadTextInputDismissed);
15 }
16
17 public override void Shutdown()
18 {
19 }
20
21 public override bool IsGamepadTextInputActive()
22 {
24 }
25
26 public override bool ShowGamepadTextInput(string description, uint maxLength, bool multiLine = false, string existingText = "", bool password = false)
27 {
29 {
30 return false;
31 }
32 bool num = SteamUtils.ShowGamepadTextInput((EGamepadTextInputMode)(password ? 1 : 0), (EGamepadTextInputLineMode)(multiLine ? 1 : 0), description, maxLength, existingText);
33 if (num)
34 {
36 }
37 return num;
38 }
39
40 public override string GetGamepadText()
41 {
42 uint enteredGamepadTextLength = SteamUtils.GetEnteredGamepadTextLength();
43 string result = default(string);
44 SteamUtils.GetEnteredGamepadTextInput(ref result, enteredGamepadTextLength);
45 return result;
46 }
47
48 private void OnGamepadTextInputDismissed(GamepadTextInputDismissed_t result)
49 {
51 }
52}
Callback< GamepadTextInputDismissed_t > _gamepadTextInputDismissed
override bool ShowGamepadTextInput(string description, uint maxLength, bool multiLine=false, string existingText="", bool password=false)
void OnGamepadTextInputDismissed(GamepadTextInputDismissed_t result)