Beispiel #1
0
        public override void Clear(bool RaiseChangedEvent)
        {
            base.Clear(RaiseChangedEvent);

            if (RaiseChangedEvent)
            {
                RenderPosition = 0;
            }
            else
            {
                renderPosition = 0;
            }
        }
 public PlayerOverlay(
     uint ID,
     uint Count,
     uint OverlayFileRID,
     uint NameRID,
     uint Flags,
     LightingInfo LightingInfo,
     AnimationType FirstAnimationType,
     byte ColorTranslation,
     byte Effect,
     Animation Animation,
     BaseList <SubOverlay> SubOverlays,
     PlayerOverlayHotspot RenderPosition)
     : base(
         ID, Count, OverlayFileRID, NameRID, Flags,
         LightingInfo, FirstAnimationType,
         ColorTranslation, Effect,
         Animation, SubOverlays, false)
 {
     renderPosition = RenderPosition;
 }
        public override void Clear(bool RaiseChangedEvent)
        {
            base.Clear(RaiseChangedEvent);

            if (RaiseChangedEvent)
            {
                RenderPosition = 0;
            }
            else
            {
                renderPosition = 0;
            }
        }
 public PlayerOverlay(
     uint ID,
     uint Count, 
     uint OverlayFileRID, 
     uint NameRID, 
     uint Flags,
     ushort LightFlags, 
     byte LightIntensity, 
     ushort LightColor, 
     AnimationType FirstAnimationType, 
     byte ColorTranslation, 
     byte Effect,
     Animation Animation, 
     BaseList<SubOverlay> SubOverlays,
     PlayerOverlayHotspot RenderPosition)        
     : base(
         ID, Count, OverlayFileRID, NameRID, Flags, 
         LightFlags, LightIntensity, LightColor, 
         FirstAnimationType, ColorTranslation, Effect, 
         Animation, SubOverlays, false)
 {
     renderPosition = RenderPosition;
 }