mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-22 07:32:32 +01:00
fix(guild): implement alliance application toggle (#166)
Alliance applications were hardcoded to always-open. Add a `recruiting` column to guild_alliances and handle OperateJoint actions 0x06 (Allow) and 0x07 (Deny) confirmed via Wii U debug symbols. Only the parent guild leader can toggle the setting, matching the existing disband guard.
This commit is contained in:
@@ -14,6 +14,8 @@ type OperateJointAction uint8
|
||||
const (
|
||||
OPERATE_JOINT_DISBAND = 0x01
|
||||
OPERATE_JOINT_LEAVE = 0x03
|
||||
OPERATE_JOINT_ALLOW = 0x06
|
||||
OPERATE_JOINT_DENY = 0x07
|
||||
OPERATE_JOINT_KICK = 0x09
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user