Click or drag to resize

RingSecretUpdateGameInfo Method

Updates the Rings property with the rings in this secret

Namespace:  Zyrenth.Zora
Assembly:  ZoraSharp (in ZoraSharp.dll) Version: 2.3
Syntax
public void UpdateGameInfo(
	GameInfo info,
	bool appendRings
)

Parameters

info
Type: Zyrenth.ZoraGameInfo
The information.
appendRings
Type: SystemBoolean
If true, this will add the rings contained in the secret to the existings Rings. If false, it will overwrite them.
Exceptions
ExceptionCondition
SecretException The Game IDs or regions of the secret and game info do not match.
Examples
C#
RingSecret secret = new RingSecret()
{
    GameID = 14129,
    Rings = Rings.PowerRingL1 | Rings.DoubleEdgeRing | Rings.ProtectionRing
};
GameInfo info = new GameInfo() { GameID = 14129 };
bool appendRings = true;
secret.UpdateGameInfo(info, appendRings);
See Also