OnClanColorChanged
Usage
- No return behavior
Example Autogenerated
csharp
private void OnClanColorChanged( LocalClan localClan, Color32 newColor, ulong bySteamId )
{
Puts( "OnClanColorChanged works!" );
}
Location
- LocalClan/<SetColor>d__61::MoveNext()
csharp
//---
}
else if (localClan._backend.Database.UpdateClanColor(localClan.ClanId, this.newColor))
{
localClan._backend.Database.AppendLog<ulong, string>(localClan.ClanId, "set_color", this.bySteamId, this.newColor.ToHex());
localClan.Changed(ClanDataSource.Basic);
Interface.CallHook("OnClanColorChanged", localClan, this.newColor, this.bySteamId);
result = ClanResult.Success;
}
else
{
result = ClanResult.Fail;
//---