示例#1
0
        private GameSparks.Api.Requests.CustomRequest build()
        {
            CustomRequest r = new CustomRequest(data);

            //add scriptdata to request when not null
            if (scriptData != null)
            {
                r.SetScriptData(new GameSparks.Core.GSRequestData(scriptData));
            }
            return(r);
        }
		private GameSparks.Api.Requests.CustomRequest build()
		{
			
			CustomRequest r = new CustomRequest(data);
			
			//add scriptdata to request when not null
			if (scriptData != null)
			{ 
				r.SetScriptData(new GameSparks.Core.GSRequestData(scriptData));
			}
			return r;
		}