Skip to main content

Create your own challenge goals assignment Extend Override app

Last updated on April 15, 2025

Overview

AccelByte Gaming Service (AGS) Extend gives you the ability to provide custom logic for AGS Challenge, allowing custom rules for goals assignments. This article explains the function in the contract, the Assign function.

service AssignmentFunction {
rpc Assign(AssignmentRequest) returns (AssignmentResponse) {}
}

Assign

The Assign function is triggered when a user makes a request to the "List User's Progression" endpoint (publicGetUserProgression). This occurs if the user has not yet been assigned any goals.

In the app, the following function can be found in src/AccelByte.PluginArch.ChallengeAssignment.Demo.Server/Services/ChallengeAssignmentService.cs.

public override async Task<AssignmentResponse> Assign(AssignmentRequest request, ServerCallContext context)
{
...
}
info

You could find more information about gRPC request handling here.

On this page