Added market emsil

This commit is contained in:
CHIEFSOFT\ameye
2024-09-15 14:46:31 -04:00
parent 326cf3d3e1
commit 9b914cc92b
4 changed files with 162 additions and 2 deletions
+3 -2
View File
@@ -25,13 +25,14 @@ long market_calls(CVars in, CVars &out) {
long action = REQ_LONG( in, "action", 1, -1 );
switch(action){
case WRENCHBOARD_MARKET_PLAN01_START:
//file_uid is the UID of the user
snprintf(vname, sizeof (vname), "SELECT uid AS member_uid, profile_pic AS saved_file_name FROM members WHERE uid ='%s'", in["file_uid"].c_str());
market_email(WRENCHBOARD_MARKET_PLAN01_START, in, in);
break;
case WRENCHBOARD_MARKET_PLAN01_NEXT1:
//file_uid is the UID of the user
snprintf(vname, sizeof (vname), "SELECT uid AS member_uid, profile_pic AS saved_file_name FROM members WHERE uid ='%s'", in["file_uid"].c_str());
market_email(WRENCHBOARD_MARKET_PLAN01_START, in, in);
break;
}