Ejemplo n.º 1
0
        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));
            }
        }
Ejemplo n.º 2
0
 public GHScreenText(DisplayScreenTextData data, long created_at_count)
 {
     _data             = data;
     _created_at_count = created_at_count;
 }
Ejemplo n.º 3
0
 public GHRequest(ClientGame clientgame, GHRequestType requesttype, DisplayScreenTextData data)
 {
     RequestingClientGame = clientgame;
     RequestType          = requesttype;
     ScreenTextData       = data;
 }