Documentation index for AI agents

GS2-Formation API Reference

Party and equipment formation feature

This service is designed to realize equipment and partying functions.

There are two types of forms: Forms, which record formation information, and Molded forms, which save the forms that have been formed. For example, to organize a party, you can set the characters in a form and organize the party. If you want to record multiple party information, you can use Form Storage Area.

The number of Form Storage Area can be set to a certain capacity, and the capacity value can be increased.

The properties organized in a form are specified by property IDs, but the values can be restricted by property regular expressions. When setting up GS2-Inventory resources, you can also specify the organization target using a signed itemset issued by GS2-Inventory. A signed itemset is property information with a signature that guarantees ownership of the item, and allows organization directly from the client.

This assurance of ownership is a guarantee at the time of composition, and there is no follow-up if the property is relinquished after composition. If a property is to be consumed or sold in GS2-Inventory, the determination of whether or not it has been used for organization in GS2-Formation must be implemented in the client or in a script beforehand.

When using Standard Inventory (GS2-Inventory), you can prevent accidental deletion of items that are currently in formation by using the referenceOf field on ItemSet. Set the formation slot identifier (e.g., a GRN or any string that identifies the formation slot) in ItemSet.referenceOf when placing an item into a formation slot. Standard Inventory also has an option in the Inventory Model settings to “prohibit consumption when referenceOf is set”. When this option is enabled, any item whose ItemSet.referenceOf is non-empty cannot be consumed or sold, effectively locking the item while it is in use in a formation.


GS2-Formation SDK for Game Engine API Reference

Specifications of models and API references for GS2-Formation SDK for Game Engine

GS2-Formation SDK API Reference

Specification of models and API references for GS2-Formation SDK for various programming languages

GS2-Formation Script Trigger Reference

Reference for event triggers that call extended scripts

GS2-Formation Deploy/CDK Reference

The template format used when creating stacks with GS2-Deploy, and implementation examples of template output in various languages using CDK

GS2-Formation Master Data Reference

Reference for the master data format and the models to be imported

GS2-Formation Transaction Actions

Specification of verify/consume/acquire transaction actions

GS2-Formation Buff Reference

Describes the fields within models/actions whose parameters can be adjusted when applying buffs with GS2-Buff, and how to configure the scope in which those buffs are applied.