oncompletehandler - TogetherGames/Public-Unity-CSharp GitHub Wiki
together::OnCompleteHandler delegate
Delegate passed to every network method which is called by the Network Processor upon success.
public delegate void OnCompleteHandler(TogetherCallback e);
Event object containing results of a network method call
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.