Skip to content

Instantly share code, notes, and snippets.

@Mikodes
Created August 17, 2017 13:59
Show Gist options
  • Save Mikodes/ba89f213f1f3a11ded740830710f1513 to your computer and use it in GitHub Desktop.
Save Mikodes/ba89f213f1f3a11ded740830710f1513 to your computer and use it in GitHub Desktop.
"pool_config": {
"register_fee":15.00, # fee de entrada
"only_garantize": false, #eso a tru cuando solo es premio garantizado i no tb el bote acumulado
"garantize_prize": 0.00, #cantidad de premio garantizado
"register_pot": true, # esto setea si se tiene en cuenta el bote acumulado por entradas o no ,
"position_type": "m", #por ahora siempre a m = manual
"prizes_config": [
{"from_position": 1, "to_position": 1, "type": {"amount": 90.00, "_cls": "PointPrize"}}, # Precio Puntos
{"from_position": 2, "to_position": 2, "type": {"amount": 10.00, "_cls": "CashPrize","only_play":false}} # ,Estructura para Dinero , el only_play se stea a true , si se marca la casilla de dinero torneo, esto significa que ese dinero se utiliza solo para registrarse en partidas
]
},
@chef88val
Copy link

"pool_config":
{
"registration_fee": 1,
"only_garantize": false,
"garantize_prize": 0,
"register_pot": true,
"position_type": "m",
"prizes_config": [
{
"from_position": 1,
"to_position": 1,
"type":
{
"amount": 1,
"_cls": "REAL_CASH",
"only_play": true
}
},
{
"from_position": 2,
"to_position": 2,
"type":
{
"amount": 1,
"_cls": ""
}
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment