public static bool VesselComputer_SetAsTranslated(NomaiVesselComputer __instance, int id) { if (__instance.IsTranslated(id)) { return(true); } QSBEventManager.FireEvent( EventNames.QSBTextTranslated, NomaiTextType.VesselComputer, QSBWorldSync.GetIdFromUnity <QSBVesselComputer, NomaiVesselComputer>(__instance), id); return(true); }
public static bool Wall_SetAsTranslated(NomaiWallText __instance, int id) { if (__instance.IsTranslated(id)) { return(true); } QSBEventManager.FireEvent( EventNames.QSBTextTranslated, NomaiTextType.WallText, QSBWorldSync.GetIdFromUnity <QSBWallText, NomaiWallText>(__instance), id); return(true); }