C# Class Protogame.NetworkTrafficProfilerVisualiser.NetworkSampler

Afficher le fichier Open project: RedpointGames/Protogame

Méthodes publiques

Méthode Description
NetworkSampler ( I2DRenderUtilities renderUtilities, FontAsset defaultFont, string type ) : System.Collections.Generic
Render ( IRenderContext renderContext, Rectangle rectangle ) : void
Sample ( int>.Dictionary bytes, int>.Dictionary counts, int maxHistory ) : void

Private Methods

Méthode Description
RenderHeader ( IRenderContext renderContext, Rectangle rectangle, string title, int n, int lastBytes, int maxBytes, string s ) : void

Method Details

NetworkSampler() public méthode

public NetworkSampler ( I2DRenderUtilities renderUtilities, FontAsset defaultFont, string type ) : System.Collections.Generic
renderUtilities I2DRenderUtilities
defaultFont FontAsset
type string
Résultat System.Collections.Generic

Render() public méthode

public Render ( IRenderContext renderContext, Rectangle rectangle ) : void
renderContext IRenderContext
rectangle Microsoft.Xna.Framework.Rectangle
Résultat void

Sample() public méthode

public Sample ( int>.Dictionary bytes, int>.Dictionary counts, int maxHistory ) : void
bytes int>.Dictionary
counts int>.Dictionary
maxHistory int
Résultat void