This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
player1: { | |
xpos: -1110, | |
ypos: -539, | |
id: 46, | |
name: 'npc_dota_hero_templar_assassin', | |
level: 7, | |
xp: 3676, | |
alive: true, | |
respawn_seconds: 0, | |
buyback_cost: 469, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ublic with sharing class GiftController { | |
@AuraEnabled(cacheable=true) | |
public static List<Cadeau__c> findGifts(String searchKey) { | |
String str = 'SELECT Id,Name FROM Cadeau__c where ((publicCible__c = \'Enfant\') and Name like \'%' + searchKey + '%\')' ; | |
return Database.query(str); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class CadeauControler { | |
@AuraEnabled(cacheable=true) | |
public static List<Cadeau__c> getCadeauxCreated() { | |
List <Cadeau__c> myCadeaux = new List <Cadeau__c>(); | |
myCadeaux = [SELECT Id, Name, Price__c, CreatedDate, SecretKey__c, publicCible__c | |
FROM Cadeau__c | |
WHERE publicCible__c = 'Enfant' ]; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<lightning-card | |
title="Welcome" | |
icon-name="standard:contact" | |
> | |
<h1>Hi thank you for participating in our challenge </h1> | |
<template if:true={isUserConnected}> | |
<h1> Congrats !! your key is : bdxcfvjgyjM2020 </h1> | |
</template> |