// UNITY Note: Data is forced to a string to save us having to // manually 'stringify' anything. public void save(string key, string val, Roar.Callback <WebObjects.User.NetdriveSaveResponse> callback) { Data_[key] = val; WebObjects.User.NetdriveSaveArguments args = new Roar.WebObjects.User.NetdriveSaveArguments(); args.ikey = key; args.data = val; user_actions_.netdrive_save(args, new OnSetData(callback, this, key, val)); }
public void netdrive_save(Roar.WebObjects.User.NetdriveSaveArguments args, ZWebAPI.Callback <Roar.WebObjects.User.NetdriveSaveResponse> cb) { api.MakeCall("user/netdrive_set", args.ToHashtable(), new CallbackBridge <Roar.WebObjects.User.NetdriveSaveResponse>(cb, netdrive_save_response_parser), true); }