int level = 1;
// 프로필 아이디는 로컬에 저장된 프로필 이미지 도감의 번호에 맞게 이미지를 가져오는 값입니다.
// 해당 예제에서는 이미지가 부족하여 숫자에 맞게 프로필 이미지의 색이 변하는 로직으로 대체했습니다.
int profile_id = Random.Range(0, 3);
// 이후 UI 오브젝트로 보여줄 데이터들입니다.
Param param = new Param();
param.Add("profile_id", profile_id);
param.Add("level", level);
param.Add("content", $"{name} 길드입니다. 잘부탁드립니다.");
var bro = Backend.Guild.CreateGuildV3("원하는 길드 이름", 10, param);
if (bro.IsSuccess() == false) {
Debug.LogError("길드 생성 중 에러가 발생했습니다. " + bro);
return;
}
bro = Backend.RandomInfo.SetRandomData(RandomType.Guild, "246af8f0-7505-11ed-a50e-5beec811ecdf", level);
if (bro.IsSuccess() == false) {
Debug.LogError("랜덤 데이터 등록 중 에러가 발생했습니다. : " + bro);
}