Esempio n. 1
0
        public void ClientCallback_DisplayFloatingText(int x, int y, string text, int style, int attr, int color, ulong tflags)
        {
            ConcurrentQueue <GHRequest> queue;

            if (ClientGame.RequestDictionary.TryGetValue(this, out queue))
            {
                DisplayFloatingTextData floatingTextData = new DisplayFloatingTextData();
                floatingTextData.x      = x;
                floatingTextData.y      = y;
                floatingTextData.text   = text;
                floatingTextData.style  = style;
                floatingTextData.attr   = attr;
                floatingTextData.color  = color;
                floatingTextData.tflags = tflags;
                queue.Enqueue(new GHRequest(this, GHRequestType.DisplayFloatingText, floatingTextData));
            }
        }
 public GHFloatingText(DisplayFloatingTextData data, long created_at_count)
 {
     _data             = data;
     _created_at_count = created_at_count;
 }
Esempio n. 3
0
 public GHRequest(ClientGame clientgame, GHRequestType requesttype, DisplayFloatingTextData data)
 {
     RequestingClientGame = clientgame;
     RequestType          = requesttype;
     FloatingTextData     = data;
 }