Show / Hide Table of Contents

Class NetworkStabilityStatistics

This class is in charge of generating performance reports that will be exposed via API. The main purpose of it is to give an opportunity for admins/devs to see how well server performs without having to log in or asking players. The metric that is used for evaluate performance based on time between user sends an RPC and receives a updated property changed inside of that RPC. It should simulate "how fast user will see result of his actions". The value is similar to ping but also considers the internal queues of the server/client, such as queue of network events, queue of properties to notify.

Inheritance
System.Object
NetworkStabilityStatistics
Implements
IController
IViewController
IHasUniversalID
Namespace: Eco.Core.DebugStatistic
Assembly: Eco.Core.dll
Syntax
public class NetworkStabilityStatistics : AutoSingleton<NetworkStabilityStatistics>, IController, IViewController, IHasUniversalID

Constructors

NetworkStabilityStatistics()

Declaration
public NetworkStabilityStatistics()

Properties

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

Enabled

Declaration
[SyncToView(null, true)]
public bool Enabled { get; }
Property Value
Type Description
System.Boolean

Methods

AddPingData(Single, Int32)

Declaration
public void AddPingData(float seconds, int id)
Parameters
Type Name Description
System.Single seconds
System.Int32 id

Implements

IController
IViewController
IHasUniversalID

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾