Пример #1
0
 def create_linguistic_contribution(self, account, type, entity_id):
     ContributionPrototype.create(
         account_id=account.id,
         type=type,
         entity_id=entity_id,
         source=linguistics_relations.CONTRIBUTION_SOURCE.PLAYER,
         state=linguistics_relations.CONTRIBUTION_STATE.IN_GAME)
Пример #2
0
 def create_linguistic_contribution(self, account, type, entity_id):
     ContributionPrototype.create(
         account_id=account.id,
         type=type,
         entity_id=entity_id,
         source=linguistics_relations.CONTRIBUTION_SOURCE.PLAYER,
         state=linguistics_relations.CONTRIBUTION_STATE.IN_GAME,
     )