private void OnSealChange(KProtoBuf buf) { S2C_SYNC_SEAL_CHANGED msg = buf as S2C_SYNC_SEAL_CHANGED; SpacecraftEntity entity = m_GameplayProxy.GetEntityById <SpacecraftEntity>((uint)msg.hero_uid); if (entity != null) { entity.SetSeal(msg.is_seal); } }