oncompletehandler - TogetherGames/Public-Unity-CSharp GitHub Wiki

OnCompleteHandler Delegate

together::OnCompleteHandler delegate

Overview

Delegate passed to every network method which is called by the Network Processor upon success.

Declaration

public delegate void OnCompleteHandler(TogetherCallback e);

TogetherCallback

Event object containing results of a network method call

Members

bool Success

Was the network call successful(TRUE) or resulted in error/unexpected(FALSE)

string Status

A status code associated to the result of the network call

string Message

An often more detailed description of the result of the network call status

object Data

A generic data object associated to the result of the network call. Most calls update the managers and leave this field null. Some methods, such as GetServerTimeUTC() will assign this field the result to be cast out for use.


⚠️ **GitHub.com Fallback** ⚠️