My Project
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
Tayx.Graphy.GraphyDebugger Class Reference

Main class to access the Graphy Debugger API. More...

Inheritance diagram for Tayx.Graphy.GraphyDebugger:
Tayx.Graphy.Utils.G_Singleton< GraphyDebugger >

Classes

struct  DebugCondition
 
class  DebugPacket
 

Public Types

enum  DebugVariable {
  Fps , Fps_Min , Fps_Max , Fps_Avg ,
  Ram_Allocated , Ram_Reserved , Ram_Mono , Audio_DB
}
 
enum  DebugComparer {
  Less_than , Equals_or_less_than , Equals , Equals_or_greater_than ,
  Greater_than
}
 
enum  ConditionEvaluation { All_conditions_must_be_met , Only_one_condition_has_to_be_met }
 
enum  MessageType { Log , Warning , Error }
 

Public Member Functions

void AddNewDebugPacket (DebugPacket newDebugPacket)
 Add a new DebugPacket.
 
void AddNewDebugPacket (int newId, DebugCondition newDebugCondition, MessageType newMessageType, string newMessage, bool newDebugBreak, System.Action newCallback)
 Add a new DebugPacket.
 
void AddNewDebugPacket (int newId, List< DebugCondition > newDebugConditions, MessageType newMessageType, string newMessage, bool newDebugBreak, System.Action newCallback)
 Add a new DebugPacket.
 
void AddNewDebugPacket (int newId, DebugCondition newDebugCondition, MessageType newMessageType, string newMessage, bool newDebugBreak, List< System.Action > newCallbacks)
 Add a new DebugPacket.
 
void AddNewDebugPacket (int newId, List< DebugCondition > newDebugConditions, MessageType newMessageType, string newMessage, bool newDebugBreak, List< System.Action > newCallbacks)
 Add a new DebugPacket.
 
DebugPacket GetFirstDebugPacketWithId (int packetId)
 Returns the first Packet with the specified ID in the DebugPacket list.
 
List< DebugPacketGetAllDebugPacketsWithId (int packetId)
 Returns a list with all the Packets with the specified ID in the DebugPacket list.
 
void RemoveFirstDebugPacketWithId (int packetId)
 Removes the first Packet with the specified ID in the DebugPacket list.
 
void RemoveAllDebugPacketsWithId (int packetId)
 Removes all the Packets with the specified ID in the DebugPacket list.
 
void AddCallbackToFirstDebugPacketWithId (System.Action callback, int id)
 Add an Action callback to the first Packet with the specified ID in the DebugPacket list.
 
void AddCallbackToAllDebugPacketWithId (System.Action callback, int id)
 Add an Action callback to all the Packets with the specified ID in the DebugPacket list.
 

Additional Inherited Members

- Properties inherited from Tayx.Graphy.Utils.G_Singleton< GraphyDebugger >
static T Instance [get]
 

Detailed Description

Main class to access the Graphy Debugger API.

Member Function Documentation

◆ AddCallbackToAllDebugPacketWithId()

void Tayx.Graphy.GraphyDebugger.AddCallbackToAllDebugPacketWithId ( System::Action  callback,
int  id 
)
inline

Add an Action callback to all the Packets with the specified ID in the DebugPacket list.

Parameters
callback
id

◆ AddCallbackToFirstDebugPacketWithId()

void Tayx.Graphy.GraphyDebugger.AddCallbackToFirstDebugPacketWithId ( System::Action  callback,
int  id 
)
inline

Add an Action callback to the first Packet with the specified ID in the DebugPacket list.

Parameters
callback
id

◆ GetAllDebugPacketsWithId()

List< DebugPacket > Tayx.Graphy.GraphyDebugger.GetAllDebugPacketsWithId ( int  packetId)
inline

Returns a list with all the Packets with the specified ID in the DebugPacket list.

Parameters
packetId
Returns

◆ GetFirstDebugPacketWithId()

DebugPacket Tayx.Graphy.GraphyDebugger.GetFirstDebugPacketWithId ( int  packetId)
inline

Returns the first Packet with the specified ID in the DebugPacket list.

Parameters
packetId
Returns

◆ RemoveAllDebugPacketsWithId()

void Tayx.Graphy.GraphyDebugger.RemoveAllDebugPacketsWithId ( int  packetId)
inline

Removes all the Packets with the specified ID in the DebugPacket list.

Parameters
packetId
Returns

◆ RemoveFirstDebugPacketWithId()

void Tayx.Graphy.GraphyDebugger.RemoveFirstDebugPacketWithId ( int  packetId)
inline

Removes the first Packet with the specified ID in the DebugPacket list.

Parameters
packetId
Returns

The documentation for this class was generated from the following file: