Version: 2021.2
public int NewRequestId ();
public static int NewRequestId (int clientId);

参数

clientId The ChannelClient ID to generate the request from.

返回

int The request ID.

描述

Creates a unique request ID for this ChannelClient in this instance of Unity. For more information about requests, see ChannelClient.Request.