public void ClientCallback_DisplayScreenText(string text, string subtext, int style, int attr, int color, ulong tflags) { ConcurrentQueue <GHRequest> queue; if (ClientGame.RequestDictionary.TryGetValue(this, out queue)) { DisplayScreenTextData data = new DisplayScreenTextData(); data.text = text; data.subtext = subtext; data.style = style; data.attr = attr; data.color = color; data.tflags = tflags; queue.Enqueue(new GHRequest(this, GHRequestType.DisplayScreenText, data)); } }
public GHScreenText(DisplayScreenTextData data, long created_at_count) { _data = data; _created_at_count = created_at_count; }
public GHRequest(ClientGame clientgame, GHRequestType requesttype, DisplayScreenTextData data) { RequestingClientGame = clientgame; RequestType = requesttype; ScreenTextData = data; }