Skip to main content
Version: SDK-5.11.6

Guild Function Handlers

These tasks are processed asynchronously, and events related to guild functions are called back using the event handlers below.
The following events generate real-time notifications:

  • Guild join request received(for guild masters and vice guild masters)
  • Guild join request approved
  • Guild join request declined

Notifications for approval/rejection are not applicable to guilds set with quick join.


OnReceivedGuildApplicant

public OnNotification OnReceivedGuildApplicant;

Description

This handler is called when a new guild join request is received.

Example

Backend.Notification.OnReceivedGuildApplicant = () => {
Debug.Log("Your guild received a new join request!");
};

OnApprovedGuildJoin

public OnNotification OnApprovedGuildJoin;

Description

This handler is called when a guild join request is approved.

Example

Backend.Notification.OnApprovedGuildJoin = () => {
Debug.Log("Your guild join request has been approved!");
};

OnRejectedGuildJoin

public OnNotification OnRejectedGuildJoin;

Description

This handler is called when a guild join request is declined.

Example

Backend.Notification.OnRejectedGuildJoin = () => {
Debug.Log("Your request to join the guild has been declined...");
};