ALOHA BRAND SITE
home
FLAMINGO
home
📗

AlohaSdk.RemoteConfig (원격 설정)

1) Remote Config 세팅

원격으로 설정하고자 하는 값(Remote Config)이 있다면 알로하팩토리에 요청해주세요.
Remote Config 요청 타입
이름 (문자열)
타입 (int | bool | string | double)
기본 값 (타입)

2) 게임에서 Remote Config 사용하기

bool AlohaSdk.RemoteConfig.IsFetchCompleted

Firebase로부터 Remote Config 값 받아오기가 완료되었는지 확인

event Action AlohaSdk.RemoteConfig.OnFetchCompleted

Firebase로부터 RemoteConfig fetch가 완료되었을 때 호출되는 이벤트

int AlohaSdk.RemoteConfig.GetIntValue

(string key)
이름이 key이고 타입이 int인 Remote Config 값을 가져옴

bool AlohaSdk.RemoteConfig.GetBooleanValue

(string key)
이름이 key이고 타입이 bool인 Remote Config 값을 가져옴

string AlohaSdk.RemoteConfig.GetStringValue

(string key)
이름이 key이고 타입이 string인 Remote Config 값을 가져옴

double AlohaSdk.RemoteConfig.GetDoubleValue

(string key)
이름이 key이고 타입이 double인 Remote Config 값을 가져옴