// SteamAPICall_t public CallbackHandle SetPersonaName(string pchPersonaName /*const char **/, Action <SetPersonaNameResponse_t, bool> CallbackFunction = null /*Action<SetPersonaNameResponse_t, bool>*/) { SteamAPICall_t callback = 0; callback = platform.ISteamFriends_SetPersonaName(pchPersonaName); if (CallbackFunction == null) { return(null); } return(SetPersonaNameResponse_t.CallResult(steamworks, callback, CallbackFunction)); }
void OnSetPersonaNameResponse(SetPersonaNameResponse_t pCallback, bool bIOFailure) { Debug.Log("[" + SetPersonaNameResponse_t.k_iCallback + " - SetPersonaNameResponse] - " + pCallback.m_bSuccess + " -- " + pCallback.m_bLocalSuccess + " -- " + pCallback.m_result); }
void OnSetPersonaNameResponse(SetPersonaNameResponse_t pCallback, bool bIOFailure) { Console.WriteLine("[" + SetPersonaNameResponse_t.k_iCallback + " - SetPersonaNameResponse] - " + pCallback.m_bSuccess + " -- " + pCallback.m_bLocalSuccess + " -- " + pCallback.m_result); }