Photon Fusion 2.0.3

Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
TickRate.Resolved Struct Reference

Represents a resolved tick rate. More...

Public Member Functions

override string ToString ()
 

Public Attributes

int Client
 The tick rate for the client. More...
 
int ClientSend
 The send tick rate for the client. More...
 
int Server
 The tick rate for the server. More...
 
int ServerSend
 The send tick rate for the server. More...
 

Static Public Attributes

const int SIZE = 16
 The size of the Resolved structure in bytes. More...
 
const int WORDS = SIZE / Allocator.REPLICATE_WORD_SIZE
 The size of the Resolved structure in words. More...
 

Properties

double ClientSendDelta [get]
 Gets the delta time for the client send rate. More...
 
double ClientTickDelta [get]
 Gets the delta time for the client tick rate. More...
 
int ClientTickStride [get]
 Gets the stride of the client tick rate. This is always 1. More...
 
double ServerSendDelta [get]
 Gets the delta time for the server send rate. More...
 
double ServerTickDelta [get]
 Gets the delta time for the server tick rate. More...
 
int ServerTickStride [get]
 Gets the stride of the server tick rate relative to the client tick rate. More...
 

Detailed Description

Represents a resolved tick rate.

The tick rate is resolved by the client and server tick rates.

Member Data Documentation

◆ Client

int Client

The tick rate for the client.

◆ ClientSend

int ClientSend

The send tick rate for the client.

◆ Server

int Server

The tick rate for the server.

◆ ServerSend

int ServerSend

The send tick rate for the server.

◆ SIZE

const int SIZE = 16
static

The size of the Resolved structure in bytes.

◆ WORDS

const int WORDS = SIZE / Allocator.REPLICATE_WORD_SIZE
static

The size of the Resolved structure in words.

Property Documentation

◆ ClientSendDelta

double ClientSendDelta
get

Gets the delta time for the client send rate.

◆ ClientTickDelta

double ClientTickDelta
get

Gets the delta time for the client tick rate.

◆ ClientTickStride

int ClientTickStride
get

Gets the stride of the client tick rate. This is always 1.

◆ ServerSendDelta

double ServerSendDelta
get

Gets the delta time for the server send rate.

◆ ServerTickDelta

double ServerTickDelta
get

Gets the delta time for the server tick rate.

◆ ServerTickStride

int ServerTickStride
get

Gets the stride of the server tick rate relative to the client tick rate.