public static NetworkRequest Prepare( int playerId, int ecosystemId, int attemptId, bool allowHints, int hintId, int timesteps, string config ) { NetworkRequest request = new NetworkRequest(NetworkCode.CONVERGE_NEW_ATTEMPT); request.AddInt32(playerId); request.AddInt32(ecosystemId); request.AddInt32(attemptId); request.AddBool(allowHints); request.AddInt32(hintId); request.AddInt32(timesteps); request.AddString(config); return(request); }