GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — S1API/S1API/Messaging/Response.cs at stable · ifBars/S1API Expand file tree/ Copy pathResponse.csMore file actions 58 lines (52 loc) · 1.64 KB / Copy pathResponse.csFile metadata and controls58 lines (52 loc) · 1.64 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 #if (IL2CPPMELON) using S1Messaging = Il2CppScheduleOne.Messaging; #elif MONOMELON using S1Messaging = ScheduleOne.Messaging; #endif using System; namespace S1API.Messaging { /// <summary> /// Represents a message response displayed for the player. /// </summary> public class Response { /// <summary> /// INTERNAL: The instance of the response in-game. /// </summary> internal readonly S1Messaging.Response S1Response; /// <summary> /// Creates a new response for displaying in-game. /// </summary> public Response() => S1Response = new S1Messaging.Response(); /// <summary> /// INTERNAL: Creates a response from the in-game response instance. /// </summary> /// <param name="response"></param> internal Response(S1Messaging.Response response) => S1Response = response; /// <summary> /// A callback for when the response is triggered. /// </summary> public Action? OnTriggered { get => S1Response.callback == null ? null : new Action(() => S1Response.callback.Invoke()); set => S1Response.callback = value; } /// <summary> /// The unique identifier for this response. /// </summary> public string Label { get => S1Response.label; set => S1Response.label = value; } /// <summary> /// The text displayed in-game for the player. /// </summary> public string Text { get => S1Response.text; set => S1Response.text = value; } } } |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |